Skip to main content

types_src.yamlconfig.thrifthandler

Interface: ThriftHandler#

types/src.YamlConfig.ThriftHandler

Handler for OData

Table of contents#

Properties#

Properties#

hostName#

hostName: string

The name of the host to connect to.

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


https#

Optional https: boolean

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

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


idl#

idl: string

Path to IDL file

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


operationHeaders#

Optional operationHeaders: object

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

Type declaration:#

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


path#

Optional path: string

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

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


port#

port: number

The port number to attach to on the host.

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


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:839


schemaHeaders#

Optional schemaHeaders: object

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

Type declaration:#

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


serviceName#

serviceName: string

The name of your service. Used for logging.

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