Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/grpc_basic/http2/flow.ts>Flow

Very basic gRPC implementation for Deno
Latest
class Flow
extends Duplex
import { Flow } from "https://deno.land/x/grpc_basic@0.4.7/http2/flow.ts";

Constructors

new
Flow(flowControlId?: number)

Properties

_ended: boolean
optional
_flowControlId: number
_initialWindow: number
_log
_queue: Frame[]
_read: () => unknown
_received: number
optional
_restoreWindowTimer: number
_window: number
_write: (
frame: Frame,
encoding: string,
callback: Function,
) => unknown

Methods

_increaseWindow(size: number)
_push(frame: Frame)
_receive(frame: Frame, callback: Function)
_updateWindow(unnamed 0: Frame)
push(frame: Frame): boolean
read(limit: number)
setInitialWindow(initialWindow: number)