ClanLib
2.3.7
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
Sources
API
Network
Web
web_response.h
Go to the documentation of this file.
1
2
#pragma once
3
4
#include "../api_network.h"
5
#include "../../Core/System/sharedptr.h"
6
7
class
CL_DataBuffer
;
8
class
CL_IODevice
;
9
class
CL_WebResponse_Impl;
10
14
class
CL_API_NETWORK
CL_WebResponse
15
{
16
public
:
17
CL_WebResponse
();
18
19
int
get_status_code();
20
CL_String
get_status_string();
21
22
bool
has_header_field(
const
CL_String
&name);
23
CL_String
get_header_field(
const
CL_String
&name);
24
25
bool
has_content_type();
26
CL_String
get_content_type();
27
28
CL_DataBuffer
get_body();
29
CL_String
get_body_string();
30
// CL_IODevice get_body_reader();
31
32
private
:
33
CL_SharedPtr<CL_WebResponse_Impl> impl;
34
friend
class
CL_WebRequest
;
35
};
Generated on Fri Jun 14 2013 13:05:47 for ClanLib by
1.8.4