HttpQuery
Table of Contents
Methods
-
__construct()
: mixed
-
delete()
: void
-
get()
: void
-
getClient()
: HttpClient
-
getResult()
: string
-
getStatus()
: int
-
post()
: void
-
put()
: void
-
query()
: void
__construct()
public
__construct(HttpClient $client, int $userId[, string $serviceName = 'google' ]) : mixed
Parameters
-
$client
: HttpClient
-
-
$userId
: int
-
-
$serviceName
: string
= 'google'
-
delete()
public
delete(string $url[, mixed $body = null ]) : void
Parameters
-
$url
: string
-
-
$body
: mixed
= null
-
-
throws
-
LoaderException
get()
public
get(string $url[, mixed $body = null ]) : void
Parameters
-
$url
: string
-
-
$body
: mixed
= null
-
-
throws
-
LoaderException
getClient()
public
getClient() : HttpClient
getResult()
public
getResult() : string
getStatus()
public
getStatus() : int
post()
public
post(string $url[, mixed $body = null ]) : void
Parameters
-
$url
: string
-
-
$body
: mixed
= null
-
-
throws
-
LoaderException
put()
public
put(string $url[, mixed $body = null ]) : void
Parameters
-
$url
: string
-
-
$body
: mixed
= null
-
query()
public
query(string $method, string $url[, mixed $body = null ]) : void
Parameters
-
$method
: string
-
-
$url
: string
-
-
$body
: mixed
= null
-
-
throws
-
LoaderException