Skip to content

Commit

Permalink
Update Request Adapter interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Ndiritu committed Oct 3, 2022
1 parent cb87a9d commit 0744561
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 0744561

Please sign in to comment.