mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-21 19:47:39 +08:00
TUN-5300: Define RPC to register UDP sessions
This commit is contained in:
committed by
Arég Harutyunyan
parent
571380b3f5
commit
fc2333c934
@@ -142,3 +142,11 @@ interface TunnelServer extends (RegistrationServer) {
|
||||
authenticate @4 (originCert :Data, hostname :Text, options :RegistrationOptions) -> (result :AuthenticateResponse);
|
||||
reconnectTunnel @5 (jwt :Data, eventDigest :Data, connDigest :Data, hostname :Text, options :RegistrationOptions) -> (result :TunnelRegistration);
|
||||
}
|
||||
|
||||
struct RegisterUdpSessionResponse {
|
||||
err @0 :Text;
|
||||
}
|
||||
|
||||
interface SessionManager {
|
||||
registerUdpSession @0 (sessionId :Data, dstIp :Data, dstPort: UInt16) -> (result :RegisterUdpSessionResponse);
|
||||
}
|
||||
Reference in New Issue
Block a user