summaryrefslogtreecommitdiff
path: root/docs/src/api/python
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-10-04 10:11:45 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-10-04 10:11:45 +0200
commit0096d0471fef972e305a61435623d64b7da4f0d9 (patch)
tree17530b91964e40beeb590da8e6bb83fd32cea365 /docs/src/api/python
parent926b5a36f309b397fc4e9c4e8e316c0d3c956c06 (diff)
Refactor: Renmae force TCP to prefer TCP
Diffstat (limited to 'docs/src/api/python')
-rw-r--r--docs/src/api/python/functions.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/src/api/python/functions.md b/docs/src/api/python/functions.md
index ecc4982..2b909a8 100644
--- a/docs/src/api/python/functions.md
+++ b/docs/src/api/python/functions.md
@@ -32,13 +32,13 @@ Returns a `string` of JSON data with the servers/organizations. Raises an except
## OpenVPN/Wireguard config
See [Overview](../overview/getconfig.html)
```python
-def get_config_institute_access(self, url: str, forceTCP: bool = False) -> Tuple[str, str]
+def get_config_institute_access(self, url: str, preferTCP: bool = False) -> Tuple[str, str]
```
```python
-def get_config_secure_internet(self, url: str, forceTCP: bool = False) -> Tuple[str, str]
+def get_config_secure_internet(self, url: str, preferTCP: bool = False) -> Tuple[str, str]
```
- `url`: The url of the Secure Internet or Institute Access server to get a connect config for
-- `forceTCP`: Whether or not we want to force enable TCP, default: `False`
+- `preferTCP`: Whether or not we want to prefer TCP, default: `False`
Returns:
- A `string` of the OpenVPN/Wireguard config