---
name: "TSHttpConnectOptionsGet"
section: "3ts"
platform: "linux"
package: "trafficserver-dev"
version: "9.2.5+ds-0+deb12u4"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/TSHttpConnectOptionsGet"
---

# TSHttpConnectOptionsGet(3ts)

TSHttpConnectOptionsGet API function

## NAME

TSHttpConnectOptionsGet - TSHttpConnectOptionsGet API function

## SYNOPSIS

```
#include <ts/ts.h>
```

- ***TSHttpConnectOptions* TSHttpConnectOptionsGet(*TSConnectType* connect\_type)**

  ## DESCRIPTION

Convenience function to obtain a *TSHttpConnectOptions* struct of the given *TSConnectType* provided in *connect\_type* with default values.

## COPYRIGHT

2026, dev@trafficserver.apache.org
