component fathom.proto.http
This component provides an API for the HTTP protocol.
Methods
Methods | Returns | Description |
---|---|---|
create(
)
|
void
static
|
↑ This function creates and returns an HTTP object. |
getCertificateChain(
uri, callback
)
|
void
static
|
↑
This function gets a certificate chain information for the specified uri.
Parameters:
|
open(
httpObj, url, lookup, IP
)
|
void
static
|
↑
This function opens an HTTP connection to the specified URI/IP.
Parameters:
|
receive(
httpObj, recvCallback
)
|
void
static
|
↑
This function gets an HTTP response.
Parameters:
|
send(
httpObj, method, data, headers
)
|
void
static
|
↑
This function sends an HTTP request to the the specified host.
Parameters:
|