Fan

 

class

wisp::WispReq

sys::Obj
  web::WebReq
    wisp::WispReq

WispReq

Slots

headersSource

override Str:Str headers

Overrides web::WebReq.headers

Doc inherited from web::WebReq.headers

Map of HTTP request headers. The headers map is readonly and case sensitive (see sys::Map.caseInsensitive).

Examples:

req.headers["Accept-Language"]
inSource

override InStream in()

Overrides web::WebReq.in

Doc inherited from web::WebReq.in

The InStream for this request.

makeSource

new make(WispService service, TcpSocket socket)

makeTestSource

new makeTest(InStream in)

methodSource

override Str method

Overrides web::WebReq.method

Doc inherited from web::WebReq.method

The HTTP request method in uppercase. Example: GET, POST, PUT.

remoteAddressSource

override IpAddress remoteAddress()

Get the IP host address of the client socket making this request.

remotePortSource

override Int remotePort()

Overrides web::WebReq.remotePort

Doc inherited from web::WebReq.remotePort

Get the IP port of the client socket making this request.

serviceSource

override WispService service

Overrides web::WebReq.service

Doc inherited from web::WebReq.service

Get the WebService managing the request.

uriSource

override Uri uri

Overrides web::WebReq.uri

Doc inherited from web::WebReq.uri

The request URI including the query string relative to this authority. Also see absUri.

Examples:

/a/b/c
/a?q=bar
versionSource

override Version version

Overrides web::WebReq.version

Doc inherited from web::WebReq.version

The HTTP version of the request.