Skip to main content

Post

Trait Post 

Source
pub trait Post {
    // Required method
    fn post(
        &self,
        url: &str,
        headers: &[(String, String)],
    ) -> Result<(u16, String), String>;
}
Expand description

One HTTP exchange with a Worker: the status and the body.

Required Methods§

Source

fn post( &self, url: &str, headers: &[(String, String)], ) -> Result<(u16, String), String>

Implementors§