From 074456126ff063a9e55d10063af42b78ddb95618 Mon Sep 17 00:00:00 2001 From: Philip Gichuhi Date: Tue, 27 Sep 2022 19:09:55 +0300 Subject: [PATCH] Update Request Adapter interface --- src/RequestAdapter.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/RequestAdapter.php b/src/RequestAdapter.php index ecbaefd..2a02c42 100644 --- a/src/RequestAdapter.php +++ b/src/RequestAdapter.php @@ -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; @@ -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.