HandlerInterface
in
HTTP client handler interface
Tags
Table of Contents
Methods
- disconnect() : void
- Close the handler connection
- getHttpVersion() : string
- Get the HTTP version
- getResource() : mixed
- Get the resource
- getUriObject() : Uri
- Get the URI as an object
- hasResource() : bool
- Determine whether or not resource is available
- prepare() : HandlerInterface
- Prepare the handler with the given request (and optional auth) before sending
- reset() : HandlerInterface
- Method to reset the handler
- resource() : mixed
- Get the resource (alias method)
- send() : mixed
- Method to send the request
Methods
disconnect()
Close the handler connection
public
disconnect() : void
getHttpVersion()
Get the HTTP version
public
getHttpVersion() : string
Return values
stringgetResource()
Get the resource
public
getResource() : mixed
getUriObject()
Get the URI as an object
public
getUriObject() : Uri
Return values
UrihasResource()
Determine whether or not resource is available
public
hasResource() : bool
Return values
boolprepare()
Prepare the handler with the given request (and optional auth) before sending
public
prepare(Request $request[, Auth|null $auth = null ]) : HandlerInterface
Parameters
Return values
HandlerInterfacereset()
Method to reset the handler
public
reset() : HandlerInterface
Return values
HandlerInterfaceresource()
Get the resource (alias method)
public
resource() : mixed
send()
Method to send the request
public
send() : mixed