Skip to content

SendGridClient thread-safety documentationΒ #521

Open
@william-gross

Description

@william-gross

Please state in the documentation whether it is safe to create a single SendGridClient object and share it among all threads in an app domain. In particular, I'd like to know if it is safe for multiple threads in an ASP.NET application to call SendEmailAsync or RequestAsync at the same time.

I believe this was safe in version 6.3.4 (with SendGrid.Web.DeliverAsync) and it's probably still safe now (since the underlying implementation is HttpClient), but it would be nice to know for sure.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions