IoContext
open class IoContext : CoatyObject
Represents the context of IO routing.
An IO context is associated with an IO router that can use its context information to manage routes.
Remark
If needed, create a custom subtype with custom properties that represent application-specific context information.-
Undocumented
Declaration
Swift
override open class var objectType: String { get }
-
Note
This comment refers to the propertynameof superclass CoatyObject, since Swift does not support overridden commentsA name that uniquely identifies this IO context within a Coaty application scope.
Use an expressive name that is shared by all agents defining IO nodes for this context.
Remark
The context name must be a non-empty string that does not contain the following characters:NULL (U+0000),# (U+0023),+ (U+002B),/ (U+002F).
-
Undocumented
Declaration
Swift
public required init(from decoder: Decoder) throws -
Undocumented
Declaration
Swift
open override func encode(to encoder: Encoder) throws
View on GitHub
IoContext Class Reference