Show / Hide Table of Contents

Class URLEndpoint

Represents a remote endpoint for a Replicator

Inheritance
System.Object
URLEndpoint
Implements
IEndpoint
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 Source

URLEndpoint(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 Source

Url

Gets the URL used to populate this endpoint

Declaration
public Uri Url { get; }
Property Value
Type Description
System.Uri

Methods

| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

Implements

IEndpoint
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX