Documentation

WebDavClient extends Client
in package

Table of Contents

Methods

createCurlSettings()  : array<int, mixed>
sendReportRequest()  : array<string, array<int, array<string, string|null|object>>>
sendRequest()  : ResponseInterface
setCustomSetting()  : void
set curl settings enable exceptions for send method

Methods

createCurlSettings()

public createCurlSettings(array<string|int, mixed> $connectionConfig, string $accessToken) : array<int, mixed>
Parameters
$connectionConfig : array<string|int, mixed>
$accessToken : string
Return values
array<int, mixed>

sendReportRequest()

public sendReportRequest(string $pattern, int|null $limit[, string|null $url = '' ]) : array<string, array<int, array<string, string|null|object>>>
Parameters
$pattern : string
$limit : int|null
$url : string|null = ''
Tags
throws
HttpException
throws
ClientException
throws
ClientHttpException
Return values
array<string, array<int, array<string, string|null|object>>>

sendRequest()

public sendRequest(string $method[, string $url = '' ][, string|resource|null $body = null ][, array<string, mixed> $headers = [] ]) : ResponseInterface
Parameters
$method : string
$url : string = ''
$body : string|resource|null = null
$headers : array<string, mixed> = []
Tags
throws
BadRequestException
throws
ForbiddenException
throws
NotFoundException
throws
UnauthorizedException
throws
HttpException
throws
InternalServerErrorException
Return values
ResponseInterface

setCustomSetting()

set curl settings enable exceptions for send method

public setCustomSetting(array<string|int, mixed> $connectionConfig, string $accessToken) : void
Parameters
$connectionConfig : array<string|int, mixed>
$accessToken : string

        
On this page

Search results