Skip to content

Instantly share code, notes, and snippets.

Created May 29, 2017
What would you like to do?
public struct Registration {
public init(id: String, method: String, registerOptions: AnyEncodable? = nil) { = id
self.method = method
self.registerOptions = registerOptions
/// The id used to register the request. The id can be used to deregister the request again.
public var id: String
/// The method / capability to register for.
public var method: String
/// Options necessary for the registration.
public var registerOptions: AnyEncodable?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment