Rename transport binding to WIP over HTTP
This commit is contained in:
@@ -6,5 +6,5 @@ description = "Presentation-independent stateful WIP client runtime"
|
||||
license = "MIT OR Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
wip-https = { path = "../wip-https" }
|
||||
wip-http = { path = "../wip-http" }
|
||||
wip-protocol = { path = "../wip-protocol" }
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
//! Presentation-independent stateful runtime for WIP clients.
|
||||
//!
|
||||
//! [`Client`] separates observations by canonical HTTPS endpoint and caller-
|
||||
//! [`Client`] separates observations by canonical WIP over HTTP endpoint and caller-
|
||||
//! supplied security context. It reconciles requested observation coverage without
|
||||
//! duplicating fresh or loading work, creates requests with the standard
|
||||
//! [`wip_https`] adapter, correlates responses by [`RequestId`], and retains
|
||||
//! [`wip_http`] adapter, correlates responses by [`RequestId`], and retains
|
||||
//! bounded object, tree, interface, diagnostic, and operation state. The crate
|
||||
//! contains no terminal, widget, or UI event types.
|
||||
|
||||
@@ -13,8 +13,8 @@ use std::collections::{BTreeMap, VecDeque};
|
||||
use std::error::Error;
|
||||
use std::fmt::{self, Display, Formatter};
|
||||
|
||||
use wip_https::http::{Request, Response};
|
||||
use wip_https::{
|
||||
use wip_http::http::{Request, Response};
|
||||
use wip_http::{
|
||||
ClientResponseError, DecodedResponse, Endpoint, Limits, decode_call_operation_response,
|
||||
decode_fetch_interface_response, decode_observe_response, encode_call_operation_request,
|
||||
encode_fetch_interface_request, encode_observe_request,
|
||||
@@ -364,7 +364,7 @@ pub struct Diagnostic {
|
||||
pub struct PreparedRequest {
|
||||
/// Identity required when completing or failing this request.
|
||||
pub id: RequestId,
|
||||
/// Standard WIP over HTTPS request.
|
||||
/// Standard WIP over HTTP request.
|
||||
pub request: Request<Vec<u8>>,
|
||||
}
|
||||
|
||||
@@ -1399,7 +1399,7 @@ impl Client {
|
||||
&mut self,
|
||||
session: &SessionId,
|
||||
id: RequestId,
|
||||
mismatch: Option<wip_https::StatusMismatch>,
|
||||
mismatch: Option<wip_http::StatusMismatch>,
|
||||
) -> Result<(), ClientError> {
|
||||
if let Some(mismatch) = mismatch {
|
||||
let maximum = self.limits.history;
|
||||
|
||||
@@ -4,8 +4,8 @@ use wip_client::{
|
||||
CallOutcome, Client, ClientErrorKind, ClientLimits, Completion, DiagnosticKind,
|
||||
ObservationState, OutcomeUnknownReason, SecurityContext,
|
||||
};
|
||||
use wip_https::http::{Response, StatusCode};
|
||||
use wip_https::{
|
||||
use wip_http::http::{Response, StatusCode};
|
||||
use wip_http::{
|
||||
Limits, encode_fetch_interface_response, encode_observe_response,
|
||||
encode_protocol_error_response,
|
||||
};
|
||||
|
||||
@@ -4,8 +4,8 @@ use wip_client::{
|
||||
CallOutcome, Client, ClientErrorKind, ClientLimits, Completion, DispatchedTransportFailure,
|
||||
ObservationState, OutcomeUnknownReason, SecurityContext,
|
||||
};
|
||||
use wip_https::http::Response;
|
||||
use wip_https::{
|
||||
use wip_http::http::Response;
|
||||
use wip_http::{
|
||||
EncodeHttpError, Limits, encode_call_operation_response, encode_fetch_interface_response,
|
||||
encode_observe_response, encode_protocol_error_response,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user