Home
last modified time | relevance | path

Searched refs:responseHeaders (Results 1 – 25 of 27) sorted by relevance

12

/third_party/grpc/src/csharp/Grpc.Core.Tests/
DResponseHeadersTest.cs74 var responseHeaders = await call.ResponseHeadersAsync; in ResponseHeadersAsync_UnaryCall()
76 Assert.AreEqual(headers.Count, responseHeaders.Count); in ResponseHeadersAsync_UnaryCall()
77 Assert.AreEqual("ascii-header", responseHeaders[0].Key); in ResponseHeadersAsync_UnaryCall()
78 Assert.AreEqual("abcdefg", responseHeaders[0].Value); in ResponseHeadersAsync_UnaryCall()
94 var responseHeaders = await call.ResponseHeadersAsync; in ResponseHeadersAsync_ClientStreamingCall()
96 Assert.AreEqual("ascii-header", responseHeaders[0].Key); in ResponseHeadersAsync_ClientStreamingCall()
110 var responseHeaders = await call.ResponseHeadersAsync; in ResponseHeadersAsync_ServerStreamingCall()
112 Assert.AreEqual("ascii-header", responseHeaders[0].Key); in ResponseHeadersAsync_ServerStreamingCall()
129 var responseHeaders = await call.ResponseHeadersAsync; in ResponseHeadersAsync_DuplexStreamingCall()
134 Assert.AreEqual("ascii-header", responseHeaders[0].Key); in ResponseHeadersAsync_DuplexStreamingCall()
/third_party/grpc/src/csharp/Grpc.Core.Tests/Internal/
DAsyncCallStateTest.cs30 Task<Metadata> responseHeaders = Task.FromResult(new Metadata()); in Stateless()
32 … var state = new AsyncCallState(responseHeaders, () => new Status(StatusCode.DataLoss, "oops"), in Stateless()
35 Assert.AreSame(responseHeaders, state.ResponseHeadersAsync()); in Stateless()
51 public Task<Metadata> responseHeaders = Task.FromResult(new Metadata()); field in Grpc.Core.Internal.Tests.AsyncCallStateTest.State
63 obj => ((State)obj).responseHeaders, in WithState()
69 Assert.AreSame(callbackState.responseHeaders, state.ResponseHeadersAsync()); in WithState()
/third_party/grpc/src/csharp/Grpc.Core.Api/
DServerCallContext.cs47 public Task WriteResponseHeadersAsync(Metadata responseHeaders) in WriteResponseHeadersAsync() argument
49 return WriteResponseHeadersAsyncCore(responseHeaders); in WriteResponseHeadersAsync()
126 protected abstract Task WriteResponseHeadersAsyncCore(Metadata responseHeaders); in WriteResponseHeadersAsyncCore() argument
/third_party/grpc/src/csharp/Grpc.Core/Internal/
DAsyncCall.cs531 private void HandleReceivedResponseHeaders(bool success, Metadata responseHeaders) in HandleReceivedResponseHeaders() argument
534 responseHeadersTcs.SetResult(responseHeaders); in HandleReceivedResponseHeaders()
540 …ss, ClientSideStatus receivedStatus, IBufferReader receivedMessageReader, Metadata responseHeaders) in HandleUnaryResponse() argument
574 responseHeadersTcs.SetResult(responseHeaders); in HandleUnaryResponse()
647 …ss, ClientSideStatus receivedStatus, IBufferReader receivedMessageReader, Metadata responseHeaders) in IUnaryResponseClientCallback.OnUnaryResponseClient() argument
649 HandleUnaryResponse(success, receivedStatus, receivedMessageReader, responseHeaders); in IUnaryResponseClientCallback.OnUnaryResponseClient()
661 … IReceivedResponseHeadersCallback.OnReceivedResponseHeaders(bool success, Metadata responseHeaders) in IReceivedResponseHeadersCallback.OnReceivedResponseHeaders() argument
663 HandleReceivedResponseHeaders(success, responseHeaders); in IReceivedResponseHeadersCallback.OnReceivedResponseHeaders()
DServerResponseStream.cs43 public Task WriteResponseHeadersAsync(Metadata responseHeaders) in WriteResponseHeadersAsync() argument
45 return call.SendInitialMetadataAsync(responseHeaders); in WriteResponseHeadersAsync()
DDefaultServerCallContext.cs67 protected override Task WriteResponseHeadersAsyncCore(Metadata responseHeaders) in WriteResponseHeadersAsyncCore() argument
69 return serverResponseStream.WriteResponseHeadersAsync(responseHeaders); in WriteResponseHeadersAsyncCore()
DINativeCall.cs25 …s, ClientSideStatus receivedStatus, IBufferReader receivedMessageReader, Metadata responseHeaders); in OnUnaryResponseClient() argument
41 void OnReceivedResponseHeaders(bool success, Metadata responseHeaders); in OnReceivedResponseHeaders() argument
DIServerResponseStream.cs31 Task WriteResponseHeadersAsync(Metadata responseHeaders); in WriteResponseHeadersAsync() argument
/third_party/grpc/src/csharp/Grpc.Core.Testing/
DTestServerCallContext.cs101 protected override Task WriteResponseHeadersAsyncCore(Metadata responseHeaders) in WriteResponseHeadersAsyncCore() argument
103 return writeHeadersFunc(responseHeaders); in WriteResponseHeadersAsyncCore()
/third_party/node/deps/npm/node_modules/http-cache-semantics/
DREADME.md30 response.headers = policy.responseHeaders();
83 …erver. Note that the old response can't be returned without being updated, see `responseHeaders()`.
87 ### `responseHeaders()`
92 cachedResponse.headers = cachePolicy.responseHeaders(cachedResponse);
149 response.headers = policy.responseHeaders();
/third_party/grpc/src/csharp/Grpc.HealthCheck.Tests/
DTestServerCallContext.cs51 protected override Task WriteResponseHeadersAsyncCore(Metadata responseHeaders) in WriteResponseHeadersAsyncCore() argument
/third_party/grpc/src/objective-c/GRPCClient/
DGRPCCallLegacy.h69 @property(atomic, readonly) NSDictionary *responseHeaders;
DGRPCCall+OAuth2.m48 return self.responseHeaders[kChallengeHeader];
DGRPCCallLegacy.m51 @property(atomic, strong) NSDictionary *responseHeaders; property
511 strongSelf.responseHeaders = nil;
515 strongSelf.responseHeaders = copiedHeaders;
533 // responseHeaders might be nil.
534 userInfo[kGRPCHeadersKey] = strongSelf.responseHeaders;
/third_party/grpc/src/csharp/Grpc.IntegrationTesting/
DInteropClient.cs499 var responseHeaders = await call.ResponseHeadersAsync; in RunCustomMetadataAsync()
502 …Assert.AreEqual("test_initial_metadata_value", responseHeaders.First((entry) => entry.Key == "x-gr… in RunCustomMetadataAsync()
520 var responseHeaders = await call.ResponseHeadersAsync; in RunCustomMetadataAsync()
523 …Assert.AreEqual("test_initial_metadata_value", responseHeaders.First((entry) => entry.Key == "x-gr… in RunCustomMetadataAsync()
/third_party/grpc/src/objective-c/ProtoRPC/
DProtoRPC.h93 @property(readonly, nullable) NSDictionary *responseHeaders;
/third_party/grpc/src/objective-c/tests/UnitTests/
DGRPCClientTests.m233 XCTAssertEqualObjects(call.responseHeaders, errorOrNil.userInfo[kGRPCHeadersKey],
239 call.responseHeaders);
260 if ([keypath isEqual:@"responseHeaders"]) {
265 [call addObserver:observer forKeyPath:@"responseHeaders" options:0 context:NULL];
300 NSString *userAgent = call.responseHeaders[@"x-grpc-test-echo-useragent"];
630 call.responseHeaders);
/third_party/grpc/src/csharp/Grpc.Examples/
DMathExamples.cs129 Metadata responseHeaders = await call.ResponseHeadersAsync; in MetadataExample()
/third_party/grpc/src/objective-c/GRPCClient/private/GRPCCore/
DGRPCCallInternal.m143 [self issueInitialMetadata:self->_call.responseHeaders];
156 [self issueInitialMetadata:self->_call.responseHeaders];
/third_party/node/deps/npm/node_modules/http-cache-semantics/node4/
Dindex.js272 CachePolicy.prototype.responseHeaders = function responseHeaders() { method in CachePolicy
/third_party/node/deps/npm/node_modules/make-fetch-happen/
Dindex.js260 newRes.headers = new fetch.Headers(revalidatedPolicy.policy.responseHeaders())
/third_party/boost/libs/hof/doc/html/_static/
Djquery-3.1.0.js8708 responseHeaders,
8762 if ( !responseHeaders ) {
8763 responseHeaders = {};
8765 responseHeaders[ match[ 1 ].toLowerCase() ] = match[ 2 ];
8768 match = responseHeaders[ key.toLowerCase() ];
/third_party/boost/libs/python/doc/html/numpy/_static/
Djquery-3.1.0.js8708 responseHeaders,
8762 if ( !responseHeaders ) {
8763 responseHeaders = {};
8765 responseHeaders[ match[ 1 ].toLowerCase() ] = match[ 2 ];
8768 match = responseHeaders[ key.toLowerCase() ];
/third_party/boost/libs/gil/doc/html/_static/
Djquery-3.1.0.js8708 responseHeaders,
8762 if ( !responseHeaders ) {
8763 responseHeaders = {};
8765 responseHeaders[ match[ 1 ].toLowerCase() ] = match[ 2 ];
8768 match = responseHeaders[ key.toLowerCase() ];
/third_party/grpc/src/objective-c/tests/InteropTests/
DInteropTests.m632 XCTAssertEqualObjects(handler.responseHeaders[@"x-grpc-test-echo-initial"], @"test-header");
645 XCTAssertEqualObjects(handlerMainQueue.responseHeaders[@"x-grpc-test-echo-initial"],

12