HttpRequestSetSearchItem
Full Description
swirl
Syntax
  define function HttpRequestSetSearchItem
           modifiable  stream   Request
     for   value       stream   SearchName
     to    value       stream   SearchValue


Purpose

This function sets search item name-and-value pairs in an HTTP request object. It 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.

Input arguments:

  • "Request" -- an HTTP request object.
  • "SearchName" -- the name of the search item.
  • "SearchValue" -- the value of the search item.

Example:

  ; HttpRequestSetSearchItem

  local HttpRequest my-Request

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

Copyright © OmniMark Technologies Corporation, 1988-1998.