Enum sciter::request::REQUEST_METHOD
source · [−]#[repr(C)]
pub enum REQUEST_METHOD {
GET,
POST,
PUT,
DELETE,
}
Expand description
Request methods.
Variants
GET
Sends a plain HTTP GET request.
Url-encoded params (if any) are appended to the url in order to form the request.
POST
Sends an HTTP POST request.
The params are serialized as Content-Type: application/x-www-form-urlencoded;charset=utf-8
.
PUT
Sends an HTTP PUT request.
The params are serialized as Content-Type: multipart/form-data; boundary= ...
.
DELETE
Sends an HTTP DELETE request.
Trait Implementations
sourceimpl Debug for REQUEST_METHOD
impl Debug for REQUEST_METHOD
sourceimpl PartialEq<REQUEST_METHOD> for REQUEST_METHOD
impl PartialEq<REQUEST_METHOD> for REQUEST_METHOD
impl StructuralPartialEq for REQUEST_METHOD
Auto Trait Implementations
impl RefUnwindSafe for REQUEST_METHOD
impl Send for REQUEST_METHOD
impl Sync for REQUEST_METHOD
impl Unpin for REQUEST_METHOD
impl UnwindSafe for REQUEST_METHOD
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more