2
3
6
7
11#include <restinio/request_handler.hpp>
12#include <restinio/asio_timer_manager.hpp>
13#include <restinio/null_logger.hpp>
14#include <restinio/connection_state_listener.hpp>
15#include <restinio/ip_blocker.hpp>
16#include <restinio/default_strands.hpp>
17#include <restinio/connection_count_limiter.hpp>
19#include <restinio/utils/metaprogramming.hpp>
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
98
99
100
101
103 typename Request_Handler,
104 typename Extra_Data_Factory >
112 "Request_Handler should be invocable with "
113 "generic_request_handle_t<Extra_Data_Factory::data_t>" );
119
120
121
122
123
124template<
typename Extra_Data_Factory >
141 typename Timer_Manager,
145 typename Socket = asio_ns::ip::tcp::socket >
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
364
365
366
367
368
369
370
371
372
373
374template<
typename Traits >
385
386
387
388
389
390
391
392
393
394template<
typename Traits >
416
417
418
419
420
421
422
423
424
425
426
427
428
429
The default implementation for http_method_mapper.
typename details::actual_request_handler_type_detector< typename Traits::request_handler_t, typename Traits::extra_data_factory_t >::request_handler_t request_handler_type_from_traits_t
A metafunction for extraction a request-handler type from server's traits.
asio_ns::strand< default_asio_executor > default_strand_t
A typedef for the default strand type.
generic_request_t< typename Traits::extra_data_factory_t::data_t > generic_request_type_from_traits_t
A metafunction for the detection of actual type of request-object from server's traits.
request_handling_status_t
Request handling status.
The default no-op state listener.
Special version of metafunction actual_request_handler_type_detector for the case of autodetect_reque...
std::function< request_handling_status_t( generic_request_handle_t< typename Extra_Data_Factory::data_t >) > request_handler_t
A metafunction for the detection of type of a request-handler.
Request_Handler request_handler_t
A special type to be used as indicator that the type of a request handler should be automatically det...
The default no-op IP-blocker.
Timer_Manager timer_manager_t
no_extra_data_factory_t extra_data_factory_t
The type of extra-data-factory.
connection_state::noop_listener_t connection_state_listener_t
A type for connection state listener.
default_http_methods_t http_methods_mapper_t
A type for HTTP methods mapping.
Request_Handler request_handler_t
ip_blocker::noop_ip_blocker_t ip_blocker_t
A type for IP-blocker.
static constexpr bool use_connection_count_limiter
A flag that enables or disables the usage of connection count limiter.