swirl Guide to OmniMark 6   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
  Related Syntax     Other Library Functions  
function   HttpRequestSetSearchItem   Available in:
Enterprise
Professional

Library: omhttp - HTTP support
Include: omhttp.xin

Declaration

  define function HttpRequestSetSearchItem
           modifiable  stream   Request
     for   value       stream   SearchName
     to    value       stream   SearchValue
  where
Request
is an HTTP request object (input argument).
SearchName
is the name of the search item (input argument).
SearchValue
is the value of the search item (input argument).


Purpose

Use HttpRequestSetSearchItem to set search item name-and-value pairs in an HTTP request object.

Requirements

You must include the following line at the beginning of your OmniMark program:


  include "omhttp.xin"

Usage Notes

HttpRequestSetSearchItem is usually used together with HttpRequestGetSearchItems. It can appear in either a client or a server program, and is used to customize the information that will be returned from the server to the client.

Example:


  ; HttpRequestSetSearchItem
  include "omhttp.xin"

  process
     local HttpRequest my-Request

     HttpRequestSetSearchItem my-Request for "username" to "anonymous"

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

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

OmniMark 6.5 Documentation Generated: December 23, 2002 at 6:25:22 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-2002.