-
-
Save owensd/6231ef3901497fe3a7da28325526bcef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public struct Registration { | |
public init(id: String, method: String, registerOptions: AnyEncodable? = nil) { | |
self.id = 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