Bitrix API

HttpQuery

Table of Contents

Methods

__construct()  : mixed
delete()  : void
get()  : void
getClient()  : HttpClient
getResult()  : string
getStatus()  : int
post()  : void
put()  : void
query()  : void

Methods

__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
Tags
throws
LoaderException

get()

public get(string $url[, mixed $body = null ]) : void
Parameters
$url : string
$body : mixed = null
Tags
throws
LoaderException

getResult()

public getResult() : string
Return values
string

getStatus()

public getStatus() : int
Return values
int

post()

public post(string $url[, mixed $body = null ]) : void
Parameters
$url : string
$body : mixed = null
Tags
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
Tags
throws
LoaderException

        
On this page

Search results