Skip to content

Add support for specifying Http Timeout #117

@FozerG

Description

@FozerG

Feature request

Is your feature request related to a problem? Please describe.

Currently, gotrue-csharp uses the default HttpClient timeout (which is typically 100 seconds). In many mobile or unstable network scenarios, this is way too long, leading to a poor user experience where the app appears frozen during authentication attempts on a bad connection.

Other libraries in the C# ecosystem for Supabase, such as functions-csharp and realtime-csharp, already allow users to specify a custom timeout

Describe the solution you'd like

I would like to see a Timeout property added to the ClientOptions class.

Describe alternatives you've considered

One alternative is to manually provide a custom HttpClient via the constructor if the library supports it, but having a first-class property in Options is much more user-friendly and aligns with the developer experience in other Supabase C# SDKs.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions