method Server.prototype.queryStream
Server.prototype.queryStream<T, S, P extends string = string>(
inputValidator: Validator<T>,
outputValidator: Validator<S>,
handle: RawStreamHandler<T, S>,
options?: Partial<ProcedureOptions<P>>
): QueryStreamRequestHandler<T, S, P>

Type Parameters

P extends string = string

Parameters

inputValidator: Validator<T>
outputValidator: Validator<S>
optional
options: Partial<ProcedureOptions<P>>

Return Type

Usage

import { Server } from "index.ts";