FindField

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
Return value
Name | Type | Description |
---|---|---|
FindField | BOOL | Returns TRUE if the method call was successful. |
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. |
Inputs/outputs
Name | Type | Description |
---|---|---|
sField | STRING | Name of the field to be found in the header. |