Skip to content

GraphClientFactory for PHP #18

@MIchaelMainer

Description

@MIchaelMainer

The GraphClientFactory will give SDK users the option to create and define their own HTTP client configuration and pass it to Graph() to be used for requests.

Consider support for arbitrary HttpClients so that customer can bring their own clients to use in our GraphClient.

Reference:
https://github.com/microsoftgraph/msgraph-sdk-design/blob/master/GraphClientFactory.md

Related to:
microsoftgraph/msgraph-sdk-php#328 , microsoftgraph/msgraph-sdk-php#339 , microsoftgraph/msgraph-sdk-php#283 , microsoftgraph/msgraph-sdk-php#232

Task breakdown:

  • Design doc written and reviewed
  • Implement HttpClientFactory
  • Make changes to GraphRequest classes to remove HTTP client concerns
  • Update tests
  • Document breaking changes in an upgrade guide

AB#8906

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions