Connection is a single NGW connection. You can have multiple connections to multiple NGW in your application.

Constructors

Properties

baseUrl: string

Connection url.

driver: default

NGW driver used by this connection.

isConnected: boolean

Indicates if connection is initialized or not.

options: ConnectionOptions

Connection options.

connections: Connection[] = []

Methods

  • Parameters

    • resource: typeof BaseResource
    • parent: number
    • opt: Partial<SyncOptions> = {}

    Returns undefined | CompositeCreate