module web.httpclient
pub fn get(url: str) -> str
Get data from an url
pub fn post(url: str)
Post to an url
class HttpClient
HTTP client
var s: int64
fn connect()
fn disconnect()
pub fn get(url: str) -> str
pub fn post(url: str)
fn write_lines(lines: List[str])
fn write_line(line: str)
fn read_line() -> str
fn read() -> str
pub fn parse_header(line: str) -> Header
pub struct Header
name: strvalue: str
module web.urlparse
pub fn parse_url(url: str) -> ParsedUrl
Parse url into separate components.
pub struct ParsedUrl
scheme: strhost: strpath: str