IPWorks WebSockets 2020 macOS Edition

Questions / Feedback?

Origin Property

The Origin header field value.

Syntax

public var origin: String {
get {...}
set {...} }

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".

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks WebSockets 2020 macOS Edition - Version 20.0 [Build 7941]