RestJanusTransport class
This transport class is provided to JanusClient instances in transport property in order to
inform the plugin that we need to use Rest as a transport mechanism for communicating with Janus Server.
therefore for events sent by Janus server is received with the help of polling.
- Inheritance
-
- Object
- JanusTransport
- RestJanusTransport
Constructors
- RestJanusTransport({String? url})
Properties
Methods
-
dispose(
) → void -
this is called internally whenever JanusSession or JanusPlugin is disposed for cleaning up of active connections either polling or websocket connection.
override
-
get(
{dynamic handleId}) → Future -
getInfo(
) → Future -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
post(
dynamic body, {int? handleId}) → Future -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited