Class URLEndpoint
Represents a remote endpoint for a Replicator
Inheritance
System.Object
URLEndpoint
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
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 |
---|---|---|
System.Uri | url | The url |
Exceptions
Type | Condition |
---|---|
System.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 |
---|---|
System.Uri |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()