Module vibe.rpcchannel.base

Contains data types and functions required by both vibe.rcpchannel.server and vibe.rpcchannel.client.

Protocol related definitions are kept in vibe.rpcchannel.protocol.

Classes

NameDescription
DisconnectedExceptionException thrown if the connection to the remote side was closed.
RPCExceptionException thrown when a RPC error occurs.

Manifest constants

NameTypeDescription
ignoreRPCUDA to ignore a method or event when generating RPC stubs.
isEmittable2Checks whether some type is a emittable type of the tinyevent library, i.e. whether Type.init.emit() is working.
isSpecialFunctionChecks whether name is the name of a special function which should be IgnoreUDA when generating RPC methods. Ignores startSession, constructors, destructors, toHash and toString.

Aliases

NameTypeDescription
APIEventsFilter!(isValidMember,derivedMembers)Returns a string tuple of all event members in API which will be implemented by the RPC server and client.
APIFunctionOverloadsMemberFunctionsTuple!(API,member)Returns a tuple of overloads for function member in API which will be implemented by the RPC server and client.
APIFunctionsFilter!(isValidMember,derivedMembers)Returns a string tuple of all function members in API which will be implemented by the RPC server and client.
APIOverloadsstaticMap!(OverloadMap,derivedMembers)Returns a tuple of all overloads for all functions in API which will be implemented by the RPC server and client.