Serves a connector’s calls over HTTP, as POST /{call}, where its host reaches it.
Implements: IAsyncDisposable
Fields
The prefix of each header the caller’s auth resolved to, as Connector-Auth-Authorization.
The header naming the connection a call is for.
Where a connector listens: 127.0.0.1:7001, or unix:/path/to.sock.
The header carrying the connection’s values that are not secret, as a JSON object.
Properties
Where the binding listens, with the port it was given.
Methods
DisposeAsync()
Stops serving.
Returns
ValueTask
StartAsync()
Starts serving a connector’s calls.
Parameters
Func<String,ConnectionContext>
required
CancellationToken
required
Returns
ConnectorBinding
WaitAsync()
Serves until the token cancels.
Parameters
CancellationToken
required
Returns
Task