struct
PlaceOS::Api::SessionSignal
- PlaceOS::Api::SessionSignal
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Extended Modules
- JSON::Schema
Defined in:
placeos-rest-api/controllers/webrtc/session_signal.crConstructors
- .new(id : String, session_id : String, type : PlaceOS::Api::SignalType, user_id : String, to_user : Nil | String, value : Nil | String)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#id : String
message id, generated by the sender
- #place_auth_id : String | Nil
- #place_auth_id=(place_auth_id : String | Nil)
- #place_user_id : String | Nil
- #place_user_id=(place_user_id : String | Nil)
-
#session_id : String
the unique id of the chat to join
-
#session_id=(session_id : String)
the unique id of the chat to join
-
#to_user : String | Nil
the id of the user we want to communicate with
-
#to_user=(to_user : String | Nil)
the id of the user we want to communicate with
-
#type : SignalType
the type of message
-
#type=(type : SignalType)
the type of message
-
#user_id : String
the chat user identifier, globally unique
-
#value : String | Nil
the payload, if any
-
#value=(value : String | Nil)
the payload, if any
Constructor Detail
def self.new(id : String, session_id : String, type : PlaceOS::Api::SignalType, user_id : String, to_user : Nil | String, value : Nil | String)
#