Namespace Glitch9.IO.Networking
Classes
ArrayOfStringOrConverter<T>
Register per closed generic type: typeof(ArrayOfStringOrConverter<YourType>)
CurlContext
CurlLogAttribute
Replaces a property/field value with a fixed placeholder in cURL request logs. Example: [CurlLogPlaceholder("<base64_image>")] public string Base64Image { get; set; }
CurlLogOptions
CurlLogger
EmptyEnvelope
NameEnvelope
NetworkModelExtensions
NetworkUtility
PixelFormatExtensions
SingleOrArrayConverter<T>
- Json.NET converter for OneOrMany<T>.
- Reads either a single T or T[].
StringOrArrayConverter<T>
You must register each StringOrArray<T> converter with the JSON serializer.
StringOrArrayExtensions
StringOrArray<T>
A polymorphic type that can hold either a single string or an array of T.
StringOrConverter<T>
Register per closed generic type: typeof(StringOrObjectJsonConverter<YourType>)
StringOr<T>
Holds either a single string or an object of type T without boxing.
TextEnvelope
TextThrottler
Throttles incoming streaming text and emits it in fixed-size chunks at a fixed interval. Designed for runtime usage (MonoBehaviour).
UnityStreamEventBase
UnityStreamEvent<TPayload>
Used to only support one generic type for delta and final (using the same type). But I realized delta and final often have different types, so this class is currently being refactored out.
Structs
BinaryPayload
SingleOrArray<T>
- Holds either a single T or many T values without boxing.
- Avoids allocations for the single case (no implicit single-to-array creation).
- Implements IReadOnlyList for predictable access.
SingleOrArray<T>.Enumerator
Enums
DataTransferMode
Data transfer mode for Glitch9.IO.Networking.RESTApi.RESTApiV7.