Show / Hide Table of Contents

Class URLEndpoint

Represents a remote endpoint for a Replicator

Inheritance
object
URLEndpoint
Implements
IEndpoint
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, 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
Uri url

The url

Exceptions
Type Condition
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
Uri

Methods

| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Implements

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