Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/alosaur/src/microservice/microservice.ts>Microservice

Alosaur - Deno web framework with many decorators
Go to Latest
class Microservice
import { Microservice } from "https://deno.land/x/alosaur@v0.35.0/src/microservice/microservice.ts";

Constructors

new
Microservice(settings: MicroserviceSettings)

Properties

private
readonly
actions: RouteMetadata[]
private
readonly
classes: ObjectKeyAny[]
private
readonly
decoder: TextDecoder
private
readonly
delimeter: string
private
readonly
encoder: TextEncoder
private
readonly
endOfMessage: string
private
readonly
metadata: MetadataArgsStorage<TState>
private
readonly
server: TcpServer

Methods

private
handler(rid: number, r: BufferSource)