Skip to content

Cannot customise the HTTP provider in v6? #2307

@davidgiven

Description

@davidgiven

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

The v5 SDK had a builder interface to GraphServiceClient which allowed specifying an IHttpProvider which was used for all HTTP requests; this was great if you were using a customised HTTP interface. However, the builder interface appears to be missing in v6, and instead you have to pass in an OkHttpClient, which cannot be customised in the same way.

Describe the solution you'd like.

Can we have an IHttpProvider interface like in v5, please? (Or else point me at equivalent functionality I haven't found yet!)

Additional context?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions