![]()  | 
 
  
  | 
||||
![]() ![]() ![]() ![]() ![]() ![]() ![]()  | 
    |||||
| 
 | 
||||||
| Related Topics | Other Library Functions | |||||
| function | 
HttpRequestSetSearchItem | 
| 
Library: HTTP support (OMHTTP)
 Include: omhttp.xin  | 
define function HttpRequestSetSearchItem
         modifiable  stream   Request
   for   value       string   SearchName
   to    value       string   SearchValue
Argument definitions
Use HttpRequestSetSearchItem to set search item name-and-value pairs in an HTTP request object.
You must include the following line at the beginning of your OmniMark program:
include "omhttp.xin"
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.
  ; HttpRequestSetSearchItem
  include "omhttp.xin"
  
  process
     local HttpRequest my-Request
  
     HttpRequestSetSearchItem my-Request for "username" to "anonymous"
Copyright © Stilo International plc, 1988-2010.