Skip to main content

gproxy_channel_api/
lib.rs

1//! Stable contracts for compile-time GPROXY channel extensions.
2
3pub mod channel;
4pub mod context;
5pub mod disposition;
6pub mod error;
7pub mod login;
8pub mod metadata;
9pub mod prepared;
10pub mod registration;
11pub mod routes;
12pub mod transport;
13pub mod usage;
14
15pub use channel::Channel;
16pub use context::{PrepareCtx, RefreshCtx, ShapeCtx, TransportKind};
17pub use disposition::Disposition;
18pub use error::ChannelError;
19pub use gproxy_protocol as protocol;
20pub use gproxy_transform as transform;
21pub use login::{
22    AuthCodeExchangeCtx, AuthCodeStart, AuthCodeStartCtx, ChannelLogin, CookieExchangeCtx,
23    DeviceInit, DevicePoll, DevicePollCtx, DeviceStartCtx,
24};
25pub use metadata::{
26    ChannelCatalogEntry, ChannelMetadata, ChannelSettingField, ChannelSource, CredentialFamily,
27    LoginMode, SettingControl,
28};
29pub use prepared::PreparedRequest;
30pub use registration::{ChannelRegistration, RegisteredChannel};
31pub use transport::ByteStreamDecoder as ChannelStreamDecoder;
32pub use usage::{
33    RateLimitResetCreditConsumeOutcome, RateLimitResetCreditConsumeResponse, RateLimitResetCredits,
34    UsageCredits, UsageSnapshot, UsageWindow,
35};