contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
function   HttpRequestSend    
  Related Syntax     Other Library Functions  

Library: HTTP
Include: omtcp.xin, omhttp.xin
Declaration

  define function HttpRequestSend
              modifiable   stream  Request
     into  modifiable  stream  Response
     timeout  value       counter Timeout optional initial {10000}


Purpose

This function constructs an HTTP message from an HTTP request object and sends it from the client to the server. The function waits for the server response that is then used to populate the HTTP response object argument.

Input arguments:

Output argument:

Example:

  ; HttpRequestSend 

  local HttpRequest my-Request
  local HttpResponse get-Response

  HttpRequestSetFromUrl my-Request
     from "http://www.omnimark.com/whats-new.html"

  HttpRequestSend my-Request into get-Response timeout 60000

  output get-Response^"entity-body"

    Related Syntax
   HttpRequestSetFromUrl
   HttpObjectIsInError
   HttpObjectGetStatusReport
 
  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.