pub struct QuikConnection {
pub h2: SendRequest<Bytes>,
pub profile: ChromeProfile,
pub session: Option<SslSession>,
}Expand description
Establishes a new network connection following the Chrome transport pipeline.
This function orchestrates the full TLS + HTTP/2 handshake sequence,
injecting platform-specific ALPS data and ECH GREASE via raw BoringSSL
FFI calls. The resulting QuikConnection maintains the identity
established during the handshake for the lifetime of the session.
subsequent requests adhere to the same behavioral constraints (e.g.,
same SETTINGS, same window increments).
Fields§
§h2: SendRequest<Bytes>The handle used to initiate new H2 streams.
profile: ChromeProfileThe profile used for TLS and H2 handshake parity.
session: Option<SslSession>The negotiated TLS session for session ticket resumption.
Implementations§
Trait Implementations§
Source§impl Clone for QuikConnection
impl Clone for QuikConnection
Source§fn clone(&self) -> QuikConnection
fn clone(&self) -> QuikConnection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for QuikConnection
impl RefUnwindSafe for QuikConnection
impl Send for QuikConnection
impl Sync for QuikConnection
impl Unpin for QuikConnection
impl UnsafeUnpin for QuikConnection
impl UnwindSafe for QuikConnection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more