"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * @packageDocumentation
 * @module @textile/threads-client/models
 */
/* eslint-disable @typescript-eslint/no-non-null-assertion */
const grpc_web_1 = require("@improbable-eng/grpc-web");
/**
 * The default config required to connect to localhost Threads daemon
 */
class Config {
    constructor(
    /** The Threads daemon host path and port */
    host = 'http://127.0.0.1:6007', 
    /** Override the default API transport. For advanced usage only. */
    transport = grpc_web_1.grpc.WebsocketTransport()) {
        this.host = host;
        this.transport = transport;
    }
    /** @internal */
    _wrapMetadata(values) {
        return values;
    }
    /** @internal */
    _wrapBrowserHeaders(values) {
        return values;
    }
}
exports.Config = Config;
