Documentation

HandlerInterface
in

HTTP client handler interface

Tags
category

Pop

author

Nick Sagona, III nick@popphp.org

copyright

Copyright (c) 2009-2026 Nick Sagona, III

license

https://www.popphp.org/license New BSD License

version
6.0.0

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

getHttpVersion()

Get the HTTP version

public getHttpVersion() : string
Return values
string

hasResource()

Determine whether or not resource is available

public hasResource() : bool
Return values
bool

        
On this page

Search results