> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# protocol

### protocol

<ul>
  <li>
    get protocol(): string

    The protocol of the current server URL, with its colon: `"http:"` or `"https:"`. Like [hostname](https://docs.kinetica.com/content/api/javascript/classes/GPUdb/hostname.md#hostname), [port](https://docs.kinetica.com/content/api/javascript/classes/GPUdb/port.md#port) and [pathname](https://docs.kinetica.com/content/api/javascript/classes/GPUdb/pathname.md#pathname), this matches the JavaScript API's property of the same name, which existing code reads.

    #### Returns string

    <ul>
      <li>Defined in [src/GPUdb.ts:792](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L792)</li>
    </ul>
  </li>
</ul>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.