Discover Packages
github.com/brianxor/tls-api
command
module
Version:
v1.2.6
Opens a new window with list of versions in this module.
Published: Dec 21, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
README
README
ยถ
๐ TlsApi
A wrapper for tls-client library.
๐ Description
An API that forwards your HTTP requests using a custom TLS fingerprint.
๐ Installation
git clone https://github.com/brianxor/tls-api.git
cd tls-api
go run .
[!TIP]
Configure the API server host and port through the .env file.
๐ Documentation
Endpoint: /tls/forward
Method: POST
Header
Description
Optional
Default
x-tls-url
๐ Request URL.
No
N/A
x-tls-method
๐ฎ Request method.
No
N/A
x-tls-proxy
๐ Proxy. Formats: ip:port:user:pass, ip:port
Yes
N/A
x-tls-profile
๐ค TLS client profile. Available profiles: See here
No
N/A
x-tls-client-timeout
โฑ๏ธ HTTP client timeout.
Yes
30
x-tls-follow-redirects
๐ Follow redirects.
Yes
true
x-tls-force-http1
๐ Force HTTP/1.1.
Yes
false
x-tls-insecure-skip-verify
๐ซ Skip SSL certificate verification.
Yes
false
x-tls-with-random-extension-order
๐ฒ Randomize extensions order.
Yes
true
x-tls-header-order
๐ Header order. Format: String with headers key separated by commas (,)
Yes
N/A
x-tls-pseudo-header-order
๐ Pseudo header order. Format: String with headers key separated by commas (,)
Yes
N/A
[!NOTE]
If the request requires a body, you can simply enter it as the request body, not in the header.
๐ Report Issues
Found a bug? Please open an issue .
By reporting an issue you help improve the project.
๐ Credits
Special thanks to bogdanfinn for creating the awesome tls-client
Expand โพ
Collapse โด
Documentation
ยถ
There is no documentation for this package.
Source Files
ยถ
Directories
ยถ
internal
Click to show internal directories.
Click to hide internal directories.