Documentation

ClientHeadersEndpoint
in package

Gets the client headers from the cloud service.

Tags
author

DeviceAtlas Limited

copyright

Copyright (c) DeviceAtlas Ltd 2023. All Rights Reserved.

Table of Contents

Constants

CLOUD_HEADERS_PATH  = '/v1/detect/headers?licencekey=%s'

Properties

$licenceKey  : string
$servers  : array<string|int, mixed>
$timeoutSeconds  : int

Methods

__construct()  : mixed
getHeadersJson()  : string|null
extractHeadersJson()  : string|null
getConnectionStr()  : string
getHeadersFromEndpoint()  : string|null

Constants

Properties

Methods

extractHeadersJson()

private extractHeadersJson( $results) : string|null
Parameters
$results :

string

Return values
string|null

getConnectionStr()

private getConnectionStr( $server) : string
Parameters
$server :

array

Return values
string

getHeadersFromEndpoint()

private getHeadersFromEndpoint( $server) : string|null
Parameters
$server :
Return values
string|null

        
On this page

Search results