ServerStreamFunctionRef<I, T> constructor
const
ServerStreamFunctionRef<I, T> ({
- required String id,
- HttpMethod method = HttpMethod.post,
- ValueEncoder<
I> ? encodeInput, - ValueDecoder<
T> ? decodeOutput,
Creates a streaming reference emitted by the route compiler.
Implementation
const ServerStreamFunctionRef({
required this.id,
this.method = HttpMethod.post,
this.encodeInput,
this.decodeOutput,
});