contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
function   HttpConnectionSendResponse    
  Related Syntax     Other Library Functions  

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

  define function HttpConnectionSendResponse
                 value   TCPConnection Connection
                 send   modifiable stream Response
      timeout     value       counter        Timeout optional initial {10000}


Purpose

This function constructs an HTTP message from an HTTP response object and returns it to the client from the server over the specified connection.

Input arguments:

Example:

  ; HttpConnectionSendResponse

  local HttpResponse my-Response

  set my-Response^"entity-body" to file "default.htm"

  HttpConnectionSendResponse client-Connection send my-response timeout 45000

    Related Syntax
   HttpObjectSetHeader
   HttpObjectSetCookieAttribute
   HttpObjectSetCookieValue
 
  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:07 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-1999.