-
Notifications
You must be signed in to change notification settings - Fork 144
HTTP Requests & Responses
Caitlin Bales (MSFT) edited this page Oct 25, 2016
·
1 revision
Graph utilizes Guzzle to send requests and receive responses. This is largely due to the built-in support for asynchronous calls. Most request errors that you encounter while debugging your app will have bubbled up from GuzzleHttp.
If you prefer, you may call execute() and executeAsync() with your own HTTP client. The function will attempt to create a new request with the given handler. Handlers that have adopted PSR-7 should play nicely, but this functionality hasn't been tested. If you are interested in adding the ability to swap clients through the SDK, feel free to submit a PR.