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

# url_protocol

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/gpudb.rs#L3385-L3393)
pub fn [url\_protocol](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/url-protocol.md#method.url_protocol)(\&self) -> &[str](https://doc.rust-lang.org/1.98.1/std/primitive.str.html)

Gets the protocol (http or https) of the current URL.

##### Returns

The protocol scheme of the current URL (e.g., “http” or “https”).


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