HTTPMessage.constructDirectResponse

Fill in the fields for a response message header that the server will send directly to the client.

@param version HTTP version (major, minor) @param statusCode HTTP status code to respond with @param msg textual message to embed in "message" status field @param contentLength the length of the data to be written out through this message

  1. void constructDirectResponse(ubyte maj, ubyte min, const int statucode, string statusMsg, int contentLength = 0)
    class HTTPMessage
    void
    constructDirectResponse
    (
    ubyte maj
    ,
    ubyte min
    ,
    const int statucode
    ,
    string statusMsg
    ,
    int contentLength = 0
    )
  2. void constructDirectResponse(ubyte maj, ubyte min, int contentLength = 0)

Meta