With every Statica plan you have the option of using our HTTP or SOCKS5 proxies. This article outlines the differences and what factors should influence your decision.
HTTP vs SOCKS comparison
The majority of our customers use our HTTP proxy. This allows you to route any HTTP calls via our proxy including secure requests over HTTPS. HTTP proxies are natively supported in most of the common programming languages and HTTP client libraries so are easy to integrate.
SOCKS proxies are more versatile as they operate at a lower level than HTTP and can proxy TCP connections to arbitrary IP addresses. This allows you to proxy higher level protocol interactions like FTP or LDAP. SOCKS is supported at the socket level in a lot of the major languages but most client libraries do not natively support it which makes it harder to integrate in to your application.
Due to the ease of integration if you are accessing an HTTP or HTTPS API you should use our HTTP proxy. If you are using a different protocol then you should switch to SOCKS.
Common HTTP Use Cases
- Accessing an HTTP API
- Accessing an HTTPS API
Common SOCKS Use Cases
- Accessing an MySQL database
- Accessing an LDAP service
- Transferring files via Secure FTP
We have examples for other common libraries as well, but if you can't find what you are looking for just send us a support ticket and we'll get one sent to you.