> ## 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

<div className="kinetica-typedoc">
  <div className="section tsd-panel tsd-member">
    <h3 className="tsd-anchor-link" id="protocol"><span>protocol</span></h3>

    <ul className="tsd-signatures">
      <li>
        <div className="tsd-signature" id="protocolprotocol"><span className="tsd-signature-keyword">get</span> <span className="tsd-kind-get-signature">protocol</span><span className="tsd-signature-symbol">()</span><span className="tsd-signature-symbol">:</span> <span className="tsd-signature-type">string</span></div>

        <div className="tsd-description">
          <div className="tsd-comment tsd-typography">
            <p>The protocol of the current server URL, with its colon: <code>"http:"</code> or <code>"https:"</code>. Like <a href="/content/api/typescript/classes/GPUdb/hostname#hostname" className="tsd-kind-accessor">hostname</a>, <a href="/content/api/typescript/classes/GPUdb/port#port" className="tsd-kind-accessor">port</a> and <a href="/content/api/typescript/classes/GPUdb/pathname#pathname" className="tsd-kind-accessor">pathname</a>, this matches the JavaScript API's property of the same name, which existing code reads.</p>
          </div>

          <h4 className="tsd-returns-title">Returns <span className="tsd-signature-type">string</span></h4>

          <div className="aside tsd-sources">
            <ul>
              <li>Defined in <a href="https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L658">src/GPUdb.ts:658</a></li>
            </ul>
          </div>
        </div>
      </li>
    </ul>
  </div>
</div>


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