Documentation

AbstractHandler
in package
implements HandlerInterface

AbstractYes

HTTP client handler interface

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com)

license

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

version
5.2.0

Table of Contents

Interfaces

HandlerInterface
HTTP client handler interface

Properties

$httpVersion  : string
HTTP version
$resource  : mixed
Client resource object
$uri  : string|null
URI string

Methods

disconnect()  : void
Close the handler connection
getHttpVersion()  : string
Get the URI string
getResource()  : mixed
Get the resource
getUri()  : string|null
Get the URI string
getUriObject()  : Uri
Get the URI as an object
hasResource()  : bool
Determine whether or not resource is available
hasUri()  : bool
Determine whether or not there is a URI string
reset()  : AbstractHandler
Method to reset the handler
resource()  : mixed
Get the resource (alias method)
send()  : mixed
Method to send the request

Properties

Methods

disconnect()

Close the handler connection

public abstract disconnect() : void

getHttpVersion()

Get the URI string

public getHttpVersion() : string
Return values
string

getUri()

Get the URI string

public getUri() : string|null
Return values
string|null

hasResource()

Determine whether or not resource is available

public hasResource() : bool
Return values
bool

hasUri()

Determine whether or not there is a URI string

public hasUri() : bool
Return values
bool

resource()

Get the resource (alias method)

public resource() : mixed

        
On this page

Search results