Flutter Engine
The Flutter Engine
third_party
skia
tools
skiaserve
Response.h
Go to the documentation of this file.
1
/*
2
* Copyright 2016 Google Inc.
3
*
4
* Use of this source code is governed by a BSD-style license that can be
5
* found in the LICENSE file.
6
*/
7
8
#ifndef Reponse_DEFINED
9
#define Reponse_DEFINED
10
11
struct
MHD_Connection;
12
struct
Request
;
13
class
SkData
;
14
15
namespace
Response
{
16
// SendOK just sends an empty response with a 200 OK status code.
17
int
SendOK
(MHD_Connection* connection);
18
19
int
SendError
(MHD_Connection* connection,
const
char
* msg);
20
21
int
SendData
(MHD_Connection* connection,
const
SkData
*
data
,
const
char
*
type
,
22
bool
setContentDisposition =
false
,
const
char
* dispositionString =
nullptr
);
23
24
int
SendTemplate
(MHD_Connection* connection,
bool
redirect =
false
,
25
const
char
* redirectUrl =
nullptr
);
26
}
// namespace Response
27
28
#endif
type
GLenum type
Definition:
blit_command_gles.cc:126
SkData
Definition:
SkData.h:25
Response
Definition:
Response.cpp:42
Response::SendData
int SendData(MHD_Connection *connection, const SkData *data, const char *type, bool setContentDisposition, const char *dispositionString)
Definition:
Response.cpp:64
Response::SendTemplate
int SendTemplate(MHD_Connection *connection, bool redirect, const char *redirectUrl)
Definition:
Response.cpp:80
Response::SendOK
int SendOK(MHD_Connection *connection)
Definition:
Response.cpp:44
Response::SendError
int SendError(MHD_Connection *connection, const char *msg)
Definition:
Response.cpp:55
Request
Definition:
Request.h:34
data
std::shared_ptr< const fml::Mapping > data
Definition:
texture_gles.cc:63
Generated on Sun Jun 23 2024 21:56:50 for Flutter Engine by
1.9.4