Expand description
Nexer Tunnel Protocol primitives.
This crate intentionally owns only the shared wire contract: JSON envelope
parsing, strict protocol-token validation, frame encoding/decoding, target
policy helpers, and canonical data-connection signature input. Client CLI,
socket orchestration, gateway state, auth backends, and product policy belong
in nexer and nexerd.
Modules§
- connect_
stream_ status - error_
code - expose_
port_ status - message_
type - open_
stream_ status - prepare_
service_ status - service_
protocol - service_
status
Structs§
- Accepted
Service - Account
- Agent
- Auth
- Connect
Stream - Connect
Stream Result - Data
Hello - Data
Ready - Decoded
Frame - Error
Body - Error
Detail - Expose
Port - Expose
Port Result - Hello
- Open
Stream - Open
Stream Result - Ping
- Pong
- Prepare
Service - Prepare
Service Result - Protocol
Message - Register
Services - Register
Services Result - Rejected
Service - Secret
- Service
- Service
Status - Signature
- Stream
Closed - String
Map - Target
- Text
- Token
- Unregister
Services - Unregister
Services Result - Welcome
Enums§
Constants§
Functions§
- canonical_
data_ signature_ input - canonical_
data_ signature_ input_ parts - data_
signature_ hex - encode_
frame - from_
json - is_
default_ allowed_ target - is_
loopback_ host - to_json
- try_
decode_ frame - verify_
data_ signature