HttpCreateHeader

 

The HttpCreateHeader function creates a new collection of HTTP headers and stores them with the specified IDs.

 

 int @HttpCreateHeader(string headerId);

 

Parameters

string headerId : An identifier for the header collection to be generated.

 

Return Value

1 : Success

0 : Fail

 

Example)

string headerId = "myHeader";

int result = @HttpCreateHeader(headerId);

if (result == 1) { @Message("The header collection was successfully created.");}

else { @Message("Header collection creation failed.");}

 

 

Version information

Supported Version: 10.3.6.25 or later

 

Related helps)

HttpCreateHeader

HttpAddHeader

HttpRemoveHeader

HttpLoadHeaderConfig

HttpRequest