Io Reference







Networking   /   HttpClient   /   HCRequest





State describing an HTTP request to be sent by an HCConnection
 
 
 



connection

Clone HCConnect and set its state based on this HCRequest
hasHeader(name)

Returns true if this request has a header with name
headerAt(name)

Returns the value for header with name
host

The host to send this request to
httpMethod

The HTTP method to be sent
port

The port connect to when sending this request
resource

The resource to request
setHeader(name, value)

Sets header with name to value
with(aUrl)

Clones HCResponse and sets its state based on aUrl (HCUrl)