class Stream
extends Duplex
import { Stream } from "https://deno.land/x/grpc_basic@0.4.7/http2/stream.ts";
Constructors
new
Stream(connection: Connection)Properties
connection: Connection
optional
upstream: FlowMethods
_onHeaders(unnamed 0: Frame)
_onPriority(unnamed 0: Frame)
_onPromise(unnamed 0: Frame)
_onTrailers(frame: Frame)
_pushUpstream(frame: Partial<Frame>)
_send()
_setState(state: string)
_transition(sending: boolean, frame: any)
_writeUpstream(frame: Frame)
altsvc()
host: string,
port: number,
protocolID: string,
maxAge: number,
origin: string,
headers(headers: Record<string, string>)
priority(priority: number, peer: boolean)
promise(headers: Record<string, string>)
reset(error: string)
trailers(trailers: Record<string, string>)