LocalSend::Protocol::DeviceInfo
Inherits JSON::Serializable < Struct < Value < Object
LocalSend device data sent in announcements, registration, and upload requests.
Keep extensible protocol values as strings so newer peer values still parse.
Constructors
new(alias __arg0 : String, version : String, device_model : Nil | String, device_type : Nil | String, fingerprint : String, port : Int32 | Nil, protocol : Nil | String, download : Bool = false, announce : Bool | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
alias
Sourceannounce
Sourcedevice_model
Sourcedevice_type
Sourcedownload
Sourcefingerprint
Sourceport
Sourceprotocol
Sourceversion
Source