abstract static class API { string someMethod(string name); } auto settings = NoiseSettings(NoiseKind.client); settings.privateKeyPath = Path("client.key"); settings.remoteKeyPath = Path("server.pub"); auto client = clientNoise!API(settings, "127.0.0.1", 8030); client.someMethod("john"); client.closeTCP();
Connect to a remote, vibe-noisestream based API server.