diff options
Diffstat (limited to 'vendor/windows-sys/src/Windows/Web/Http/mod.rs')
-rw-r--r-- | vendor/windows-sys/src/Windows/Web/Http/mod.rs | 176 |
1 files changed, 0 insertions, 176 deletions
diff --git a/vendor/windows-sys/src/Windows/Web/Http/mod.rs b/vendor/windows-sys/src/Windows/Web/Http/mod.rs deleted file mode 100644 index 7645d540d..000000000 --- a/vendor/windows-sys/src/Windows/Web/Http/mod.rs +++ /dev/null @@ -1,176 +0,0 @@ -#[cfg(feature = "Web_Http_Diagnostics")] -pub mod Diagnostics; -#[cfg(feature = "Web_Http_Filters")] -pub mod Filters; -#[cfg(feature = "Web_Http_Headers")] -pub mod Headers; -pub type HttpBufferContent = *mut ::core::ffi::c_void; -pub type HttpClient = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Web_Http\"`*"] -#[repr(transparent)] -pub struct HttpCompletionOption(pub i32); -impl HttpCompletionOption { - pub const ResponseContentRead: Self = Self(0i32); - pub const ResponseHeadersRead: Self = Self(1i32); -} -impl ::core::marker::Copy for HttpCompletionOption {} -impl ::core::clone::Clone for HttpCompletionOption { - fn clone(&self) -> Self { - *self - } -} -pub type HttpCookie = *mut ::core::ffi::c_void; -pub type HttpCookieCollection = *mut ::core::ffi::c_void; -pub type HttpCookieManager = *mut ::core::ffi::c_void; -pub type HttpFormUrlEncodedContent = *mut ::core::ffi::c_void; -pub type HttpGetBufferResult = *mut ::core::ffi::c_void; -pub type HttpGetInputStreamResult = *mut ::core::ffi::c_void; -pub type HttpGetStringResult = *mut ::core::ffi::c_void; -pub type HttpMethod = *mut ::core::ffi::c_void; -pub type HttpMultipartContent = *mut ::core::ffi::c_void; -pub type HttpMultipartFormDataContent = *mut ::core::ffi::c_void; -#[repr(C)] -#[doc = "*Required features: `\"Web_Http\"`, `\"Foundation\"`*"] -#[cfg(feature = "Foundation")] -pub struct HttpProgress { - pub Stage: HttpProgressStage, - pub BytesSent: u64, - pub TotalBytesToSend: super::super::Foundation::IReference, - pub BytesReceived: u64, - pub TotalBytesToReceive: super::super::Foundation::IReference, - pub Retries: u32, -} -#[cfg(feature = "Foundation")] -impl ::core::marker::Copy for HttpProgress {} -#[cfg(feature = "Foundation")] -impl ::core::clone::Clone for HttpProgress { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Web_Http\"`*"] -#[repr(transparent)] -pub struct HttpProgressStage(pub i32); -impl HttpProgressStage { - pub const None: Self = Self(0i32); - pub const DetectingProxy: Self = Self(10i32); - pub const ResolvingName: Self = Self(20i32); - pub const ConnectingToServer: Self = Self(30i32); - pub const NegotiatingSsl: Self = Self(40i32); - pub const SendingHeaders: Self = Self(50i32); - pub const SendingContent: Self = Self(60i32); - pub const WaitingForResponse: Self = Self(70i32); - pub const ReceivingHeaders: Self = Self(80i32); - pub const ReceivingContent: Self = Self(90i32); -} -impl ::core::marker::Copy for HttpProgressStage {} -impl ::core::clone::Clone for HttpProgressStage { - fn clone(&self) -> Self { - *self - } -} -pub type HttpRequestMessage = *mut ::core::ffi::c_void; -pub type HttpRequestResult = *mut ::core::ffi::c_void; -pub type HttpResponseMessage = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Web_Http\"`*"] -#[repr(transparent)] -pub struct HttpResponseMessageSource(pub i32); -impl HttpResponseMessageSource { - pub const None: Self = Self(0i32); - pub const Cache: Self = Self(1i32); - pub const Network: Self = Self(2i32); -} -impl ::core::marker::Copy for HttpResponseMessageSource {} -impl ::core::clone::Clone for HttpResponseMessageSource { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Web_Http\"`*"] -#[repr(transparent)] -pub struct HttpStatusCode(pub i32); -impl HttpStatusCode { - pub const None: Self = Self(0i32); - pub const Continue: Self = Self(100i32); - pub const SwitchingProtocols: Self = Self(101i32); - pub const Processing: Self = Self(102i32); - pub const Ok: Self = Self(200i32); - pub const Created: Self = Self(201i32); - pub const Accepted: Self = Self(202i32); - pub const NonAuthoritativeInformation: Self = Self(203i32); - pub const NoContent: Self = Self(204i32); - pub const ResetContent: Self = Self(205i32); - pub const PartialContent: Self = Self(206i32); - pub const MultiStatus: Self = Self(207i32); - pub const AlreadyReported: Self = Self(208i32); - pub const IMUsed: Self = Self(226i32); - pub const MultipleChoices: Self = Self(300i32); - pub const MovedPermanently: Self = Self(301i32); - pub const Found: Self = Self(302i32); - pub const SeeOther: Self = Self(303i32); - pub const NotModified: Self = Self(304i32); - pub const UseProxy: Self = Self(305i32); - pub const TemporaryRedirect: Self = Self(307i32); - pub const PermanentRedirect: Self = Self(308i32); - pub const BadRequest: Self = Self(400i32); - pub const Unauthorized: Self = Self(401i32); - pub const PaymentRequired: Self = Self(402i32); - pub const Forbidden: Self = Self(403i32); - pub const NotFound: Self = Self(404i32); - pub const MethodNotAllowed: Self = Self(405i32); - pub const NotAcceptable: Self = Self(406i32); - pub const ProxyAuthenticationRequired: Self = Self(407i32); - pub const RequestTimeout: Self = Self(408i32); - pub const Conflict: Self = Self(409i32); - pub const Gone: Self = Self(410i32); - pub const LengthRequired: Self = Self(411i32); - pub const PreconditionFailed: Self = Self(412i32); - pub const RequestEntityTooLarge: Self = Self(413i32); - pub const RequestUriTooLong: Self = Self(414i32); - pub const UnsupportedMediaType: Self = Self(415i32); - pub const RequestedRangeNotSatisfiable: Self = Self(416i32); - pub const ExpectationFailed: Self = Self(417i32); - pub const UnprocessableEntity: Self = Self(422i32); - pub const Locked: Self = Self(423i32); - pub const FailedDependency: Self = Self(424i32); - pub const UpgradeRequired: Self = Self(426i32); - pub const PreconditionRequired: Self = Self(428i32); - pub const TooManyRequests: Self = Self(429i32); - pub const RequestHeaderFieldsTooLarge: Self = Self(431i32); - pub const InternalServerError: Self = Self(500i32); - pub const NotImplemented: Self = Self(501i32); - pub const BadGateway: Self = Self(502i32); - pub const ServiceUnavailable: Self = Self(503i32); - pub const GatewayTimeout: Self = Self(504i32); - pub const HttpVersionNotSupported: Self = Self(505i32); - pub const VariantAlsoNegotiates: Self = Self(506i32); - pub const InsufficientStorage: Self = Self(507i32); - pub const LoopDetected: Self = Self(508i32); - pub const NotExtended: Self = Self(510i32); - pub const NetworkAuthenticationRequired: Self = Self(511i32); -} -impl ::core::marker::Copy for HttpStatusCode {} -impl ::core::clone::Clone for HttpStatusCode { - fn clone(&self) -> Self { - *self - } -} -pub type HttpStreamContent = *mut ::core::ffi::c_void; -pub type HttpStringContent = *mut ::core::ffi::c_void; -pub type HttpTransportInformation = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Web_Http\"`*"] -#[repr(transparent)] -pub struct HttpVersion(pub i32); -impl HttpVersion { - pub const None: Self = Self(0i32); - pub const Http10: Self = Self(1i32); - pub const Http11: Self = Self(2i32); - pub const Http20: Self = Self(3i32); -} -impl ::core::marker::Copy for HttpVersion {} -impl ::core::clone::Clone for HttpVersion { - fn clone(&self) -> Self { - *self - } -} -pub type IHttpContent = *mut ::core::ffi::c_void; |