Skip to content
Snippets Groups Projects
Commit 2285b362 authored by Jorge Canizales's avatar Jorge Canizales
Browse files

Specify responseMetadata structure

parent 1a384750
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,8 @@ extern id const kGRPCStatusMetadataKey;
- (void)setRequestMetadata:(NSDictionary *)requestMetadata; // nonatomic, copy
// This dictionary is populated with the HTTP headers received from the server. When the RPC ends,
// the HTTP trailers received are added to the dictionary too.
// the HTTP trailers received are added to the dictionary too. It has the same structure as the
// request metadata dictionary.
//
// The first time this object calls |writeValue| on the writeable passed to |startWithWriteable|,
// the |responseMetadata| dictionary already contains the response headers. When it calls
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment