types_src.yamlconfig.thrifthandler

Interface: ThriftHandler#

types/src.YamlConfig.ThriftHandler

Handler for OData

Hierarchy#

  • ThriftHandler

Table of contents#

Properties#

Properties#

hostName#

hostName: string

The name of the host to connect to.

Defined in: packages/types/src/config.ts:756


https#

Optional https: boolean

Boolean value indicating whether to use https. Defaults to false.

Defined in: packages/types/src/config.ts:768


idl#

idl: string

Path to IDL file

Defined in: packages/types/src/config.ts:792


operationHeaders#

Optional operationHeaders: { [k: string]: any; }

JSON object representing the Headers to add to the runtime of the API calls

Defined in: packages/types/src/config.ts:780


path#

Optional path: string

The path on which the Thrift service is listening. Defaults to '/thrift'.

Defined in: packages/types/src/config.ts:764


port#

port: number

The port number to attach to on the host.

Defined in: packages/types/src/config.ts:760


protocol#

Optional protocol: json | binary | compact

Name of the Thrift protocol type to use. Defaults to 'binary'. (Allowed values: binary, compact, json)

Defined in: packages/types/src/config.ts:772


schemaHeaders#

Optional schemaHeaders: { [k: string]: any; }

If you are using a remote URL endpoint to fetch your schema, you can set headers for the HTTP request to fetch your schema.

Defined in: packages/types/src/config.ts:786


serviceName#

serviceName: string

The name of your service. Used for logging.

Defined in: packages/types/src/config.ts:776