CBLURLEndpoint

@interface CBLURLEndpoint : NSObject <CBLEndpoint>

URL based replication target endpoint.

  • url

    The URL object.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSURL *_Nonnull url;

    Swift

    var url: URL { get }
  • Initializes with the given URL. The supported URL schemes are ws and wss for transferring data over a secure connection.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithURL:(nonnull NSURL *)url;

    Swift

    init(url: URL)

    Parameters

    url

    The URL object.

    Return Value

    The CBLURLEndpoint object.

  • Not available

    Declaration

    Objective-C

    - (nonnull instancetype)init;