HttpRequest

Function HttpRequest 

Source
pub fn HttpRequest(request: Request) -> Result<String, ErrorMessage>
Expand description

Makes a request with the given Request struct.

It does not use the query field, Instead it uses the path.

ยงExamples

  let response: String = WebServer::HttpRequest(Request {}).unwrap();