RemoteClient Type
Calls the members of remote interfaces on a server, at {baseUrl}{prefix}/{interface}/{member}, in one format,
sent by one transport: what a proxy, such as one [<GenRemote>] generates, calls.
Constructors
| Constructor |
Description
|
Full Usage:
RemoteClient(baseUrl, prefix, format, transport)
Parameters:
string
prefix : string
format : IWireFormat
transport : IRemoteTransport
Returns: RemoteClient
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.Member
Parameters:
string
-
The interface's name, as the server maps it
memberName : string
-
The member's name
argTypes : Type array
-
The types of the member's arguments, in order
resultType : Type
-
The type of the member's result, unit for a task without one
Returns: RemoteMember
|
A member of a remote interface, with the codecs of its types, which fails if the format can't write one.
|
Orsak