contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
function   HttpRequestSetFromUrl    
  Related Syntax     Other Library Functions  

Library: HTTP
Include: omtcp.xin, 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
   HttpObjectGetCookieAttributes
   HttpObjectGetCookieValues
   HttpObjectGetHeaders
   HttpObjectGetStatusReport
   HttpObjectIsInError
   HttpObjectSetCookieAttribute
   HttpObjectSetCookieValue
   HttpObjectSetHeader
   HttpRequestGetSearchItems
   HttpRequestSend
   HttpRequestSetFromUrl
   HttpRequestSetSearchItem
   HttpResponseOutput
   HttpServiceAwaitRequest
 
----  

Top [CONTENTS] [CONCEPTS] [SYNTAX] [LIBRARIES] [SAMPLES] [ERRORS] [INDEX]

Generated: April 21, 1999 at 2:01:08 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-1999.