Skip to main content

Interface: RPCEndpointOptions

@divine/web-service.RPCEndpointOptions

End-point configuration for an RPC method.

Properties

keepalive

Optional keepalive: null | number

Keep-alive time in milliseconds, in case this RPC call is an event stream. Default is RPC_DEFAULT_KEEPALIVE.

Defined in

web-service/src/rpc.ts:53


path

Optional path: string

The path of this RPC method. Default is simply the RPC method name.

Defined in

web-service/src/rpc.ts:50