Akamai {OPEN} EdgeGrid Authentication for PHP
  • Namespace
  • Class
  • Tree

Namespaces

  • Akamai
    • Open
      • EdgeGrid
        • Authentication
          • Exception
            • SignerException
        • Exception
          • HandlerException
        • Handler

Classes

  • Authentication
  • Debug
  • Verbose

Class Debug

Debug Response Guzzle Middleware Handler

Namespace: Akamai\Open\EdgeGrid\Handler
Package: Akamai\Open\EdgeGrid\Client
Located at Handler/Debug.php

Methods summary

public
# __construct( resource|null $resource = null )

Debug constructor.

Debug constructor.

This method accepts a stream resource or a valid stream URL (including file paths). If none is passed in stderr is used.

Parameters

$resource

Throws

Akamai\Open\EdgeGrid\Exception\HandlerException\IOException
public Closure
# __invoke( callable $handler )

Handle the request/response

Handle the request/response

Parameters

$handler

Returns

Closure

Properties summary

protected static array $messages
# [ 403 => [ "This indicates a problem with authorization.\n", "Please ensure that the credentials you created for this script\n", "have the necessary permissions in the Luna portal.\n", ], 400 => [ 'This indicates a problem with authentication or headers.', 'Please ensure that the .edgerc file is formatted correctly.', 'If you still have issues, please use gen_edgerc.php to generate the credentials', ], 401 => 400, 404 => [ "This means that the page does not exist as requested.\n", "Please ensure that the URL you're calling is correctly formatted\n", "or look at other examples to make sure yours matches.\n", ] ]
protected $fp
#
Akamai {OPEN} EdgeGrid Authentication for PHP API documentation generated by ApiGen