FindField

FindField 1:

This method searches for a specific header field in an instance of the function block FB_IotHttpHeaderFieldMap.

Syntax

METHOD FindField : BOOL
VAR_IN_OUT CONSTANT
    sField       : STRING;
END_VAR
VAR_INPUT
    pValue       : PVOID;
    nValueSize   : UDINT;
END_VAR

FindField 2: Return value

Name

Type

Description

FindField

BOOL

Returns TRUE if the method call was successful.

FindField 3: Inputs

Name

Type

Description

pValue

PVOID

Pointer to the data memory where the found header field is to be stored.

nValueSize

UDINT

The size of the memory variables.

FindField 4: Inputs/outputs

Name

Type

Description

sField

STRING

Name of the field to be found in the header.