swirl Guide to OmniMark 5   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
  Related Syntax     Other Library Functions  
function   HttpConnectionSendResponse    

Library: omhttp - HTTP support
Include: omhttp.xin

Declaration

  define function HttpConnectionSendResponse
                 value   TCPConnection Connection
                 send   modifiable stream Response
      timeout     value       integer        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
   HttpLibraryVersion
   HttpObjectGetCookieAttributes
   HttpObjectGetCookieValues
   HttpObjectGetHeaders
   HttpObjectGetStatusReport
   HttpObjectIsInError
   HttpObjectSetCookieAttribute
   HttpObjectSetCookieValue
   HttpObjectSetHeader
   HttpRequestGetSearchItems
   HttpRequestSend
   HttpRequestSetFromUrl
   HttpRequestSetProxy
   HttpRequestSetSearchItem
   HttpResponseOutput
   HttpServiceAwaitRequest
 
----  

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

Generated: August 11, 2000 at 3:07:19 pm
If you have any comments about this section of the documentation, send email to docerrors@omnimark.com

Copyright © OmniMark Technologies Corporation, 1988-2000.