Module: src/server

Server module
Source:

Classes

Server
ServerDuplexStream
ServerReadableStream
ServerWritableStream

Members

(static) Server

Source:
See:

Methods

(inner) getPeer() → {string}

Get the endpoint this call/stream is connected to.
Source:
Returns:
The URI of the endpoint
Type
string

(inner) sendMetadata(responseMetadata)

Send the initial metadata for a writable stream.
Parameters:
Name Type Description
responseMetadata Metadata Metadata to send
Source: