mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
Merge pull request #1386 from mdouglass/patch-2
Expose metadata property from ServerSurfaceCall #1384
This commit is contained in:
commit
79d3cfe4e6
@ -63,6 +63,7 @@ export type ServerErrorResponse = ServerStatusResponse & Error;
|
||||
|
||||
export type ServerSurfaceCall = {
|
||||
cancelled: boolean;
|
||||
readonly metadata: Metadata
|
||||
getPeer(): string;
|
||||
sendMetadata(responseMetadata: Metadata): void;
|
||||
} & EventEmitter;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user