vibe.rpcchannel.noise

Encrypted RPC using vibe-noisestream.

This module provides RPC client and server using encrypted noise streams. This requires the vibe-noisestream library and this module is therefore in an extra dub subpackage: vibe-rpcchannel:noise.

Members

Classes

API
class API
Undocumented in source.
APIServer
class APIServer
Undocumented in source.
NoiseServer
class NoiseServer(Implementation, API)

The RPC server implementation using an encrypted vibe-noisestream transport stream.

Functions

clientNoise
auto clientNoise(NoiseSettings settings, string host, ushort port, string bind_interface, ushort bind_port)
auto clientNoise(NoiseSettings settings, NetworkAddress addr, NetworkAddress bind_address)

Connect to a remote, vibe-noisestream based API server.

closeNoise
void closeNoise(Client client)
Undocumented in source. Be warned that the author may not have intended to support it.
serveNoise
NoiseServer!(Implementation, API) serveNoise(NoiseSettings settings, ushort port)
NoiseServer!(Implementation, API) serveNoise(NoiseSettings settings, ushort port, string address)

Create a new vibe-noisestream based API server.

Structs

NoiseInfo
struct NoiseInfo

Information about a noise connection.

Templates

NoiseClient
template NoiseClient(API)

An alias for a vibe-noisestream based RPCClient.

Meta