tls-api

command module
v1.2.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2024 License: MIT Imports: 5 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.

README ยถ

CapSolver

๐Ÿ”’ TlsApi

A wrapper for tls-client library.

๐Ÿ“ Description

An API that forwards your HTTP requests using a custom TLS fingerprint.

๐Ÿš€ Installation

  1. git clone https://github.com/brianxor/tls-api.git
  2. cd tls-api
  3. go run .

[!TIP] Configure the API server host and port through the .env file.

๐Ÿ“š Documentation

Endpoint: /tls/forward
Method: POST
Headers:
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

Documentation ยถ

The Go Gopher

There is no documentation for this package.

Directories ยถ

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL