HttpRemoveHeader

 

The HttpRemoveHeader function removes the header collection for the specified ID.

 

int @HttpRemoveHeader(string headerId);

 

Parameters

string headerId : Identifier of the header collection to be removed

 

Return Value

1 : Success

0 : Fail

 

Example)

string headerId = "myHeader";

int result = @HttpRemoveHeader(headerId);

if (result == 1) { @Message("The header collection has been successfully removed.");}

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

 

 

Version information

Supported Version: 10.3.6.25 or later

 

Related helps)

HttpCreateHeader

HttpAddHeader

HttpRemoveHeader

HttpLoadHeaderConfig

HttpRequest