Skip to main content

modeldriveprotocol_client/
lib.rs

1mod client;
2mod error;
3mod models;
4mod path_utils;
5mod protocol;
6mod registry;
7mod transport;
8
9pub use client::MdpClient;
10pub use error::MdpClientError;
11pub use models::{
12    AuthContext, ClientDescriptor, ClientInfo, ClientInfoOverride, EndpointOptions, HttpMethod,
13    PathDescriptor, PathInvocationContext, PathRequest, PromptOptions, SerializedError, SkillOptions,
14};
15pub use path_utils::{
16    compare_path_specificity, is_concrete_path, is_path_pattern, is_prompt_path, is_skill_path,
17    match_path_pattern, PathPatternMatch,
18};
19pub use protocol::{CallClientRequest, ClientToServerMessage, ServerToClientMessage};
20pub use registry::{PathHandler, ProcedureRegistry};
21pub use transport::{ClientTransport, HttpLoopClientTransport, WebSocketClientTransport};