Skip to main content

Module types

Module types 

Source
Expand description

Common type definitions for Grapsus proxy.

This module provides shared type definitions used throughout the platform, with a focus on type safety and operational clarity.

For identifier types (CorrelationId, RequestId, etc.), see the ids module.

Structs§

ByteSize
Byte size with human-readable serialization
CircuitBreakerConfig
Circuit breaker configuration
ClientIp
IP address wrapper with additional metadata
RetryPolicy
Retry policy
TimeWindow
Time window for rate limiting and metrics

Enums§

CircuitBreakerState
Circuit breaker state
HealthCheckType
Health check type
HttpMethod
HTTP method wrapper with validation
LoadBalancingAlgorithm
Load balancing algorithm
Priority
Request priority
TlsVersion
TLS version
TraceIdFormat
Trace ID format selection.