Back to Aurora Vision Library Lite website
You are here: Start » Camera Support » AXIS » AXIS_GenericRequest
AXIS_GenericRequest
Header: | ThirdPartySdk.h |
---|---|
Namespace: | avl |
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 | |
---|---|---|---|---|---|
ioState | AXIS_State& | Object used to maintain state of the function. | |||
inAddress | const String& | Source device host or ip address | |||
inCameraID | int | 1 - 4 | ID of camera | ||
inLogin | Optional<const String&> | NIL | Login for Basic authorization | ||
inPassword | Optional<const String&> | NIL | Login for Basic authorization | ||
inRequest | const String& | The url part that follows the device address. | |||
outResponse | String& | Response limited to 1024 lines. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty inAddress in AXIS_GenericRequest. |