Struct badtouch::ctx::State
[−]
[src]
pub struct State { /* fields omitted */ }
Methods
impl State
[src]
pub fn new() -> State
[src]
pub fn last_error(&self) -> Option<String>
[src]
pub fn set_error(&self, err: Error) -> Error
[src]
pub fn register_in_jar(&self, session: &String, cookies: Vec<(String, String)>)
[src]
pub fn http_mksession(&self) -> String
[src]
pub fn http_request(
&self,
session_id: &str,
method: String,
url: String,
options: RequestOptions
) -> String
[src]
&self,
session_id: &str,
method: String,
url: String,
options: RequestOptions
) -> String
pub fn http_send(&self, request: String) -> Result<LuaMap>
[src]
Trait Implementations
impl Debug for State
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more