public GenerateToken ( string sessionId, object options = null ) : string | ||
sessionId | string | /// Optional. An object used to define preferences for the token. /// /// - role : "subscriber", "publisher", "moderator" /// - expire_time : DateTime for when the token should expire /// - connection_data : any metadata you want about the connection limited to 1000 characters /// |
options | object | |
Résultat | string |