Middleware

Version 1.1 - Updated on 6/16/2016

Contents

setHttpClientHandler

public function setHttpClientHandler(ClientInterface $httpClientHandler)

Sets the HTTP client handler.

  • Parameters: $httpClientHandlerHttpClientInterface

sendRequest

public function sendRequest($httpmethod, $service, $method, array $params = [])

Makes the request to API and returns the result.

  • Returns: Response
  • Exceptions: SDKException

sendBinaryRequest

public function sendBinaryRequest($httpmethod, $service, $method, array $params = [])

Makes the request to API and returns the result.

  • Returns: Response
  • Exceptions: SDKException

sendTokenRequest

public function sendTokenRequest($clientKey,$clientSecret,$callbackUrl,$code)

Makes the request to Token API and returns the result.

  • Returns: Response
  • Exceptions: SDKException

Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.