jetstream 16.0.0

Jetstream is a RPC framework for Rust, based on the 9P protocol and QUIC.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// JetStream RPC — Constants
// Copyright (c) 2024, Sevki <s@sevki.io>
// SPDX-License-Identifier: BSD-3-Clause

// r[impl jetstream.rpc.swift.message-ids]
// r[impl jetstream.rpc.swift.error-frame]

/// Starting message ID for service methods.
public let MESSAGE_ID_START: UInt8 = 102

/// Error response type ID (TLERROR - 1 = 5).
public let RJETSTREAMERROR: UInt8 = 5

/// Version negotiation message type IDs.
public let TVERSION: UInt8 = 100
public let RVERSION: UInt8 = 101