4#ifndef RUDIMENTS_HTTPRESPONSE_H
5#define RUDIMENTS_HTTPRESPONSE_H
7#include <rudiments/private/httpresponseincludes.h>
61 const char *boundary);
69 const char *domain,
const char *path,
70 const char *expires,
bool secure);
95 ssize_t
write(
const byte_t *
string,
size_t size);
107 ssize_t
write(
const char *
string,
size_t length);
117 ssize_t
write(
const wchar_t *
string);
124 ssize_t
write(
const wchar_t *
string,
size_t length);
196 #include <rudiments/private/httpresponse.h>
Definition character.h:11
Definition httpresponse.h:11
ssize_t write(double number)
ssize_t write(wchar_t character)
ssize_t writeUcs2(const ucs2_t *string, size_t length)
ssize_t write(uint16_t number)
ssize_t write(char character)
void sendContentTypeHeader(const char *type, const char *subtype, const char *charset, const char *boundary)
ssize_t write(byte_t character)
ssize_t writeUcs2(const ucs2_t *string)
ssize_t write(const byte_t *string, size_t size)
ssize_t write(const char *string, size_t length)
ssize_t writeUcs2(ucs2_t character)
ssize_t write(file *filebuffer)
ssize_t write(int16_t number)
httpresponse(httpserverapi *sapi)
httpresponse * sendHeader(const char *header, const char *value)
ssize_t write(const wchar_t *string, size_t length)
void setCookie(const char *name, const char *value, const char *domain, const char *path, const char *expires, bool secure)
ssize_t write(uint64_t number)
ssize_t write(float number)
ssize_t write(const char *string)
ssize_t write(int64_t number)
const char * getBoundaryString()
ssize_t write(uint32_t number)
void sendTextPlainHeader()
void sendContentTypeHeader(const char *type, const char *subtype, const char *charset)
void sendTextHtmlHeader()
httpresponse * sendHeader(const char *header)
ssize_t write(const wchar_t *string)
void sendContentTypeHeader(const char *type, const char *subtype)
void sendMultiPartBoundary(output *out)
httpresponse * sendStatusHeader(const char *status)
void sendFinalMultiPartBoundary(output *out)
ssize_t write(int32_t number)
Definition httpserverapi.h:22