Back to FabImage Library website
You are here: Start » Function Reference » Camera Support » AXIS » AXIS_GenericRequest
Header: | ThirdPartySdk.h |
---|---|
Namespace: | fil |
Module: | ThirdParty |
Send basic GET HTTP request to AXIS device.
Syntax
void fil::AXIS_GenericRequest ( AXIS_State& ioState, const ftl::String& inAddress, int inCameraID, ftl::Optional<const ftl::String&> inLogin, ftl::Optional<const ftl::String&> inPassword, const ftl::String& inRequest, ftl::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. |