Nebula
Loading...
Searching...
No Matches
httpresponsewriter.h
Go to the documentation of this file.
1#pragma once
2#ifndef HTTP_HTTPRESPONSEWRITER_H
3#define HTTP_HTTPRESPONSEWRITER_H
4//------------------------------------------------------------------------------
14#include "io/streamwriter.h"
15#include "http/httpstatus.h"
16
17//------------------------------------------------------------------------------
18namespace Http
19{
35
36//------------------------------------------------------------------------------
39inline void
44
45//------------------------------------------------------------------------------
48inline void
53
54}
55//------------------------------------------------------------------------------
56#endif
Stream writer which writes a correct HTTP response to a stream.
Definition httpresponsewriter.h:21
HttpStatus::Code statusCode
Definition httpresponsewriter.h:32
void WriteResponse()
write http response to the stream
Definition httpresponsewriter.cc:20
__DeclareClass(HttpResponseWriter)
void SetStatusCode(HttpStatus::Code statusCode)
set status code
Definition httpresponsewriter.h:40
Ptr< IO::Stream > contentStream
Definition httpresponsewriter.h:33
void SetContent(const Ptr< IO::Stream > &contentStream)
set optional content stream (needs valid media type!)
Definition httpresponsewriter.h:49
Code
status codes
Definition httpstatus.h:24
Stream writer classes provide a specialized write-interface for a stream.
Definition streamwriter.h:22
Nebula's smart pointer class which manages the life time of RefCounted objects.
Definition ptr.h:38
This file was generated with Nebula Trifid's idlc compiler tool.
Definition defaulthttprequesthandler.cc:15