OptionalhostOptionalloggerOptionalportOptionalproxyProxy protocols accepted by the origin listener. The protocol is detected independently for every incoming connection.
OptionalrelayAddress of the relay server to connect to. When omitted and a local relay server is started by the same call, the origin connects to the server's actually bound address.
OptionaltargetNames of the target clients this origin may tunnel to. The origin waits
for a peer that advertised (via identify) one of these names and binds
to it. When empty/omitted, the origin binds to the first peer that joins
(or the same-process target).
OptionaltcpTry a direct TCP transport to the selected target before listening.
OptionaltcpMaximum direct transport setup time in milliseconds.
OptionaltlsTLS options for connecting to the relay server. When set, the origin connects over TLS.
Options for the originator side of StartRelayProxyCore. The local listener accepts TCP connections and tunnels each one through the relay server to the target relay client.