Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
class RSocketRouteHandler
implements RSocket
import { RSocketRouteHandler } from "https://deno.land/x/rsocket@0.3.0/rsocket/core/RSocketRouter.ts";

Properties

serviceCollection: Map<string, any>

Methods

addService(serviceName: string, handler: any): void
availability(): number
close(): void
fireAndForget(payload: Payload): Promise<void>
getServiceHandler(serviceName: string, method: string): any | undefined
metadataPush(payload: Payload): Promise<void>
parseRouting(compositeMetadata: CompositeMetadata): ServiceRouting | undefined
requestResponse(payload: Payload): Promise<Payload>

Static Methods

fromHandler(serviceName: string, handler: any)