What it does
AddHTTPHeader adds Header on a HTTP object. It takes iHTTP (an integer), headerName (a string) and headerValue (a string), and returns nothing.
Syntax
AddHTTPHeader(iHTTP integer, headerName string, headerValue string)Parameters
| Name | Type |
|---|---|
| iHTTP | integer |
| headerName | string |
| headerValue | string |
Every form returns
nothing
Example · generated
AddHTTPHeader(1, "player", "value")DO Sync()LOOPAddHTTPHeader is called with values of the types its signature asks for. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.