Class URLEndpoint
Represents a remote endpoint for a Replicator
Implements
Inherited Members
Namespace: Couchbase.Lite.Sync
Assembly: Couchbase.Lite.dll
Syntax
public sealed class URLEndpoint : IEndpoint
Constructors
| Improve this Doc View SourceURLEndpoint(Uri)
Constructs an endpoint given a url. Note that the scheme must be ws or wss or an exception will be thrown
Declaration
public URLEndpoint(Uri url)
Parameters
Type | Name | Description |
---|---|---|
Uri | url | The url |
Exceptions
Type | Condition |
---|---|
ArgumentException | Thrown if the url scheme is not ws or wss |
Properties
| Improve this Doc View SourceUrl
Gets the URL used to populate this endpoint
Declaration
public Uri Url { get; }
Property Value
Type | Description |
---|---|
Uri |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |