Back to Aurora Vision Library website

You are here: Start » Function Reference » Camera Support » AXIS » AXIS_GenericRequest

AXIS_GenericRequest


Header: ThirdPartySdk.h
Namespace: avl
Module: ThirdParty

Send basic GET HTTP request to AXIS device.

Syntax

void avl::AXIS_GenericRequest
(
	AXIS_State& ioState,
	const atl::String& inAddress,
	int inCameraID,
	atl::Optional<const atl::String&> inLogin,
	atl::Optional<const atl::String&> inPassword,
	const atl::String& inRequest,
	atl::String& outResponse
)

Parameters

Name Type Range Default Description
Input will be modified ioState AXIS_State& Object used to maintain state of the function.
Input value inAddress const String& Source device host or ip address
Input value inCameraID int 1 - 4 ID of camera
Input value inLogin Optional<const String&> NIL Login for Basic authorization
Input value inPassword Optional<const String&> NIL Login for Basic authorization
Input value inRequest const String& The url part that follows the device address.
Output value outResponse String& Response limited to 1024 lines.

Errors

List of possible exceptions:

Error type Description
DomainError Empty inAddress in AXIS_GenericRequest.