UNPKG

@eclipse-ditto/ditto-javascript-client-dom

Version:

DOM implementation of Eclipse Ditto JavaScript API to be used in browsers.

34 lines 1.35 kB
/*! * Copyright (c) 2019 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0 * * SPDX-License-Identifier: EPL-2.0 */ import { HttpBuilderInitialStep } from '../../api/src/client/http-client-builder'; import { WebSocketBuilderInitialStep } from '../../api/src/client/websocket-client-builder'; /** * Starting point to build clients that can be used to get handles for browsers. */ export declare class DittoDomClient { /** * Returns a mutable builder with a fluent API for creating a Http-Ditto-Client. * The returned builder utilizes *Object scoping* to guide you through the building process. * * @return the builder. */ static newHttpClient(): HttpBuilderInitialStep; /** * Returns a mutable builder with a fluent API for creating a Web-Socket-Ditto-Client. * The returned builder utilizes *Object scoping* to guide you through the building process. * * @return the builder. */ static newWebSocketClient(): WebSocketBuilderInitialStep; } //# sourceMappingURL=ditto-dom-client.d.ts.map