|
|||||
function | HttpRequestSetFromUrl |
Related Syntax | Other Library Functions |
Library: HTTP
Include: omtcp.xin, omhttp.xin |
define function HttpRequestSetFromUrl modifiable stream Request from value stream URL
The HttpRequestSetFromUrl
function is a shortcut that is used to populate several key items of the request object. Usually, HttpRequestSetFromUrl
is called in a client program.
With HttpRequestSetFromUrl
, you can set the host, port, path, and search items. By setting these items, a valid request object is created and may be sent using HttpRequestSend
.
Input arguments:
Example:
; HttpRequestSetFromUrl local HttpRequest my-Request HttpRequestSetFromUrl my-Request from "http://www.omnimark.com/whats-new.html"
---- |