mirror of https://github.com/grpc/grpc-node.git
Expose metadata property from ServerSurfaceCall #1384
This commit is contained in:
parent
4946b418b4
commit
9da6843ed7
|
@ -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…
Reference in New Issue