Port (HttpRequest property)
<section begin=dpl_desc/><section end=dpl_desc/>
Port is a member of the HTTPRequest class.
This settable property identifies the TCP/IP port number for the target server. You set the port for an HTTP request by assigning a value to Port, and you fetch its value by referencing it without any parameters. If left unset, Port defaults to 80 (the standard HTTP port).
Syntax
%httpreq:Port = portno %curr = %httpreq:Port
Syntax terms
%httpreq | A previously defined and instantiated HTTPRequest object. |
---|---|
portno | A numeric expression identifying the port to which the request is sent. If the value is not an integer from 1 through 32767, the request is cancelled. |
%curr | A numeric variable for the assignment of the current value of Port. |