Represents data at the point after it was transferred either successfully or after a network error.

public __construct(Psr\Http\Message\RequestInterface $request, ?Psr\Http\Message\ResponseInterface $response = NULL, $transferTime = NULL, $handlerErrorData = NULL, $handlerStats = [])

    public getEffectiveUri()
    Get the effective URI the request was sent to.

    • return UriInterface
    public getHandlerErrorData()
    Gets handler specific error data.

    This might be an exception, a integer representing an error code, or
    anything else. Relying on this value assumes that you know what handler
    you are using.

    • return mixed
    public getHandlerStat( $stat)
    Get a specific handler statistic from the handler by name.

    • return mixed|null
    public getHandlerStats()
    Gets an array of all of the handler specific transfer data.

    • return array
    public getRequest()

    • return RequestInterface
    public getResponse()
    Returns the response that was received (if any).

    • return ResponseInterface|null
    public getTransferTime()
    Get the estimated time the request was being transferred by the handler.

    • return float|null Time in seconds.
    public hasResponse()
    Returns true if a response was received.

    • return bool
    private $handlerErrorData
    private $handlerStats
    private $request
    private $response
    private $transferTime
    © 2020 Bruce Wells
    Search Namespaces \ Classes
    ConfigurationNumbers (0-9.) only