Origin Property
The Origin header field value.
Object Oriented Interface
public function getOrigin(); public function setOrigin($value);
Procedural Interface
ipworks_websocket_get($res, 24 ); ipworks_websocket_set($res, 24, $value );
Default Value
''
Remarks
If specified, the class will include an Origin HTTP header in the connection request with the value provided. Servers may use this value to validate requests. Servers may reject requests depending on the value provided.
A typical value that would be set is of the form "http://example.com".
This property is not available at design time.
Data Type
String