HTTPClient
in
Table of Contents
- execute() : Response
- getAccessToken() : AccessToken|null
- getConfiguration() : Configuration
- getSSLCertificate() : string|null
- getWithArrayParams() : Response
- getWithOnlyPath() : Response
- postWithStringBody() : Response
- setSSLCertificate() : void
Methods
execute()
public
execute(Request $request) : Response
Parameters
- $request : Request
Return values
Response —getAccessToken()
public
getAccessToken() : AccessToken|null
Return values
AccessToken|null —getConfiguration()
public
getConfiguration() : Configuration
Return values
Configuration —getSSLCertificate()
public
getSSLCertificate() : string|null
Return values
string|null —getWithArrayParams()
public
getWithArrayParams(string $path, array<string|int, mixed> $params) : Response
Parameters
- $path : string
- $params : array<string|int, mixed>
Return values
Response —getWithOnlyPath()
public
getWithOnlyPath(string $path) : Response
Parameters
- $path : string
Return values
Response —postWithStringBody()
public
postWithStringBody(string $path, string $body[, array<string|int, mixed>|null $params = null ]) : Response
Parameters
- $path : string
- $body : string
- $params : array<string|int, mixed>|null = null
Return values
Response —setSSLCertificate()
public
setSSLCertificate(string $filePath) : void
Parameters
- $filePath : string