Function

nw_content_context_set_is_final(_:_:)

Sets a Boolean indicating if this context represents the final message being sent.

Declaration

func nw_content_context_set_is_final(_ context: nw_content_context_t, _ is_final: Bool)

See Also

Creating Custom Send Contexts

func nw_content_context_set_metadata_for_protocol(nw_content_context_t, nw_protocol_metadata_t)

Sets protocol metadata to configure per-message or per-packet properties.

typealias nw_protocol_metadata_t

The abstract superclass for specifying metadata about a network protocol.

func nw_content_context_set_antecedent(nw_content_context_t, nw_content_context_t?)

Set an optional message context that must be sent before the context you are sending.

func nw_content_context_copy_antecedent(nw_content_context_t) -> nw_content_context_t?

Accesses the optional message context that must be sent before the context you are sending.

func nw_content_context_set_expiration_milliseconds(nw_content_context_t, UInt64)

Sets the number of milliseconds after which sending the data associated with this context must begin, otherwise the data is discarded.

func nw_content_context_set_relative_priority(nw_content_context_t, Double)

Sets the relative value of priority used to reorder contexts when sending.

func nw_content_context_get_relative_priority(nw_content_context_t) -> Double

Accesses the relative value of priority used to reorder contexts when sending.

func nw_content_context_get_identifier(nw_content_context_t) -> UnsafePointer<Int8>

Accesses the identifier used to create this message context.