Skip to content

Commit

Permalink
Merge pull request #3 from microsoft/fix/update-request-adapter
Browse files Browse the repository at this point in the history
Update Request Adapter interface
  • Loading branch information
Ndiritu authored Oct 3, 2022
2 parents cb87a9d + 0744561 commit 81b0378
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/RequestAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
namespace Microsoft\Kiota\Abstractions;

use Http\Promise\Promise;
use Microsoft\Kiota\Abstractions\Serialization\ParseNodeFactory;
use Microsoft\Kiota\Abstractions\Serialization\SerializationWriterFactory;
use Microsoft\Kiota\Abstractions\Store\BackingStoreFactory;

Expand All @@ -23,6 +24,13 @@ public function sendAsync(RequestInformation $requestInfo, array $targetCallable
*/
public function getSerializationWriterFactory(): SerializationWriterFactory;

/**
* Gets the Parse Node Factory in use
*
* @return ParseNodeFactory
*/
public function getParseNodeFactory(): ParseNodeFactory;

/**
* Executes the HTTP request specified by the given RequestInformation and returns the deserialized response model collection.
* @param RequestInformation $requestInfo the request info to execute.
Expand Down

0 comments on commit 81b0378

Please sign in to comment.