Struct WebRPCPeer
Reference counted type used to access a peer's API.
struct WebRPCPeer(I)
;
This struct defines an alias this
to its implementation
property in
order to provide an interface implementation of I
. Any calls on the
methods of this implementation will be forwarded to the remote peer.
Note that the WebRPC connection will be closed as soon as the last instance
of a connected WebRPCPeer
gets destroyed.
Constructors
Name | Description |
---|---|
this
(impl)
|
Fields
Name | Type | Description |
---|---|---|
m_impl
|
WebRPCPeerImpl!(I,I,"") |
Properties
Name | Type | Description |
---|---|---|
implementation [get]
|
inout(I) | Accesses the remote peer's API interface. |
peerInformation [get]
|
const(WebRPCPeerInfo) | Provides information about the remote peer. |