new FEDERATION_RESPONSE_MAX_SIZE(serverURL, domain, optsopt) → {void}
FederationServer handles a network connection to a federation server instance and exposes an interface for requests to that instance.
- Source:
Parameters:
Name | Type | Attributes | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
serverURL |
string
|
The federation server URL (ex. |
|||||||||||||
domain |
string
|
Domain this server represents |
|||||||||||||
opts |
object
|
<optional> |
options object
|
Returns:
- Type:
-
void