praxis-proxy-core 0.7.3

Configuration, error types, and server factory for Praxis
// SPDX-License-Identifier: Apache-2.0
// Copyright (c) 2026 Praxis Contributors

//! Shared gRPC protocol utilities.
//!
//! gRPC is carried over HTTP, so several Praxis layers need the same
//! answers about a request: is this gRPC, and which codec does it use?
//! The `grpc_detection` filter, the `grpc` condition predicate, and the
//! protocol layer all classify the same `content-type` header, so the
//! classification lives here rather than inside any one of them. The
//! same goes for a call's outcome, which the protocol layer reads from
//! response trailers and the access log renders.

mod content_type;
mod status;
mod timeout;
mod web;

pub use content_type::GrpcKind;
pub use status::{GrpcCompletion, GrpcStatusCode, UnknownGrpcStatusCode, encode_grpc_message};
pub use timeout::{GrpcDeadline, GrpcTimeout, GrpcTimeoutParseError, GrpcTimeoutUnit, MAX_DEADLINE_MS};
pub use web::{GrpcCodec, GrpcWebKind};