swirl Guide to OmniMark 5   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
  Related Syntax     Other Library Functions  
function   HttpRequestSetFromUrl    

Library: omhttp - HTTP support
Include: omhttp.xin

Declaration

  define function HttpRequestSetFromUrl
              modifiable  stream Request
     from     value       stream URL


Purpose

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"

    Related Syntax
   HttpRequestSend
   HttpRequestSetSearchItem
 
  Other Library Functions
   HttpConnectionSendResponse
   HttpLibraryVersion
   HttpObjectGetCookieAttributes
   HttpObjectGetCookieValues
   HttpObjectGetHeaders
   HttpObjectGetStatusReport
   HttpObjectIsInError
   HttpObjectSetCookieAttribute
   HttpObjectSetCookieValue
   HttpObjectSetHeader
   HttpRequestGetSearchItems
   HttpRequestSend
   HttpRequestSetFromUrl
   HttpRequestSetProxy
   HttpRequestSetSearchItem
   HttpResponseOutput
   HttpServiceAwaitRequest
 
----  

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ OMX ] [ OMX ] [ ERRORS ]

Generated: August 11, 2000 at 3:07:20 pm
If you have any comments about this section of the documentation, send email to docerrors@omnimark.com

Copyright © OmniMark Technologies Corporation, 1988-2000.