HTTPS request
#4

Well SA-MP doesn't support SSL so there is currently no way to make a secure connection. Either you use the socket plugin with SSL support, or you write your own plugin. HTTPS request go through port 443. I'm not sure if the plugin does automatic DNS lookup, so you may have to translate its domain name to its IP address (a dedicated IP is a requirement to set up HTTPS, so there is no way there are other sites hosted on that IP). Then send a HTTP header.

Код:
"GET /path/to/file.php HTTP/1.1\r\n"
I'm not sure if any more headers are required. You may want to look that up in RFC 2616.
Reply


Messages In This Thread
HTTPS request - by dudaefj - 12.12.2014, 09:11
Re: HTTPS request - by Clad - 12.12.2014, 09:23
Re: HTTPS request - by dudaefj - 12.12.2014, 09:37
Re: HTTPS request - by Vince - 12.12.2014, 09:49
Re: HTTPS request - by dudaefj - 12.12.2014, 14:44

Forum Jump:


Users browsing this thread: 2 Guest(s)