Nikolay Kim
|
3e98177fad
|
added State extractor
|
2018-03-29 15:41:13 -07:00 |
|
Nikolay Kim
|
86dd732704
|
use FromRequest instead of HttpRequestExtractor
|
2018-03-29 13:12:28 -07:00 |
|
Nikolay Kim
|
dfd8f1058e
|
move NormalizePath type to separate module
|
2018-03-29 11:39:21 -07:00 |
|
Nikolay Kim
|
7d6deab9fb
|
drop request's extract_xxx methods
|
2018-03-29 09:26:01 -07:00 |
|
Nikolay Kim
|
2f60a4b89d
|
add handler with exatractor
|
2018-03-26 23:10:31 -07:00 |
|
Nikolay Kim
|
68cf32e848
|
add path and query extractors
|
2018-03-26 15:58:30 -07:00 |
|
Nikolay Kim
|
e49910cdab
|
Use more ergonomic actix_web::Error instead of http::Error for HttpResponseBuilder::body()
|
2018-03-21 20:15:52 -07:00 |
|
Nikolay Kim
|
31fbbd3168
|
Fix panic on unknown content encoding
|
2018-03-11 14:50:13 -07:00 |
|
Nikolay Kim
|
a4c933e56e
|
update doc string
|
2018-03-11 09:36:54 -07:00 |
|
Nikolay Kim
|
9ddf5a3550
|
better doc string for Either
|
2018-03-11 09:28:22 -07:00 |
|
Nikolay Kim
|
ac9eba8261
|
add api doc for Either
|
2018-03-10 10:12:44 -08:00 |
|
Nikolay Kim
|
cad55f9c80
|
add Either responder
|
2018-03-10 09:39:43 -08:00 |
|
Nikolay Kim
|
206c4e581a
|
rename httpcodes
|
2018-03-01 19:12:59 -08:00 |
|
Nikolay Kim
|
72aa2d9eae
|
clippy warnings
|
2018-02-26 14:33:56 -08:00 |
|
Nikolay Kim
|
644f1a9518
|
refactor ws frame parser
|
2018-02-26 13:58:23 -08:00 |
|
Nikolay Kim
|
8f2d3a0a76
|
fix NormalizePath helper
|
2018-02-21 14:53:42 -08:00 |
|
Nikolay Kim
|
5634e5794f
|
more tests for NormalizePath helper
|
2018-02-20 13:03:21 -08:00 |
|
Nikolay Kim
|
4d81186059
|
escape router pattern re
|
2018-02-19 14:57:57 -08:00 |
|
Nikolay Kim
|
ddc82395e8
|
try to remove trailing slash for normalize path handler
|
2018-02-19 14:27:36 -08:00 |
|
Alexander Andreev
|
58df8fa4b9
|
spelling check
|
2018-01-16 21:59:33 +03:00 |
|
Alexander Andreev
|
e1d9c3803b
|
spelling check
|
2018-01-16 00:47:25 +03:00 |
|
Nikolay Kim
|
70ea43b3c0
|
fix drain support for actor; make pattern more reusable
|
2018-01-02 23:43:17 -08:00 |
|
Nikolay Kim
|
cc38b30f7b
|
refactor http actor usage
|
2017-12-31 17:26:32 -08:00 |
|
Nikolay Kim
|
743235b8fd
|
add unit test helper
|
2017-12-26 19:48:02 -08:00 |
|
Nikolay Kim
|
cf8c2ca95e
|
refactor Handler trait, use mut self
|
2017-12-26 09:00:45 -08:00 |
|
Nikolay Kim
|
bca1dd4f9e
|
update doc strings
|
2017-12-20 23:19:21 -08:00 |
|
Nikolay Kim
|
63ddc07ccb
|
added JsonBody future
|
2017-12-20 20:30:54 -08:00 |
|
Nikolay Kim
|
33b2be3281
|
move json responder to separate module
|
2017-12-20 17:51:28 -08:00 |
|
Nikolay Kim
|
c36ad06332
|
more general Responder implementaiton for response future
|
2017-12-20 15:26:28 -08:00 |
|
Nikolay Kim
|
79f047f5be
|
remove box from predicates
|
2017-12-20 13:23:50 -08:00 |
|
Nikolay Kim
|
813b56ebe5
|
make async handler future more generic
|
2017-12-20 12:51:39 -08:00 |
|
Nikolay Kim
|
1daf50095a
|
cleanup response
|
2017-12-15 20:00:12 -08:00 |
|
Nikolay Kim
|
1ddcce7b76
|
hide httpresponse box
|
2017-12-15 16:24:15 -08:00 |
|
Nikolay Kim
|
c98d320f8c
|
rename FromRequest trait to Responder
|
2017-12-14 09:43:42 -08:00 |
|
Nikolay Kim
|
d4187f682b
|
various cleanups
|
2017-12-13 11:10:03 -08:00 |
|
Nikolay Kim
|
2e83c5924d
|
cleanup and optimize some code
|
2017-12-12 21:32:58 -08:00 |
|
Nikolay Kim
|
0f75d066f2
|
simplify Application creation; update url dispatch guide section
|
2017-12-11 14:16:29 -08:00 |
|
Nikolay Kim
|
0388a464ba
|
tests for NormalizePath
|
2017-12-09 13:25:06 -08:00 |
|
Nikolay Kim
|
71bbe2a5dd
|
update doc string for NormalizePath
|
2017-12-09 11:55:55 -08:00 |
|
Nikolay Kim
|
7addd2800d
|
add NormalizePath handler
|
2017-12-09 11:39:13 -08:00 |
|
Nikolay Kim
|
e332c1242f
|
use Route for Applicaiton handlers
|
2017-12-04 14:53:40 -08:00 |
|