1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-25 00:43:00 +01:00
Commit Graph

124 Commits

Author SHA1 Message Date
Tobias Bieniek
0925a7691a ws/context: Increase write() visibility to public (#402)
This type is introduced to avoid confusion between the `.binary()` and `.write_raw()` methods on WebSocket contexts
2018-07-19 20:04:13 +03:00
Nikolay Kim
6b10e1eff6 rename PayloadHelper 2018-07-18 10:01:28 +06:00
Nikolay Kim
db005af1af clippy warnings 2018-07-12 10:41:49 +06:00
Diggory Blake
87824a9cf6 Refactor apply_mask implementation, removing dead code paths and reducing scope of unsafety 2018-07-08 13:56:43 +01:00
Nikolay Kim
5b7aed101a remove unsafe 2018-07-06 13:54:43 +06:00
Nikolay Kim
1c3b32169e remove stream from WebsocketsContext::with_factory 2018-07-06 12:11:40 +06:00
Nikolay Kim
7d96b92aa3 add check for usize cast 2018-07-06 07:46:47 +06:00
Nikolay Kim
6fd686ef98 cleanup warnings 2018-07-04 21:01:27 +06:00
Nikolay Kim
4c5a63965e use new actix context api 2018-07-04 17:04:23 +06:00
Nikolay Kim
fec6047ddc refactor HttpRequest mutability 2018-07-02 23:35:32 +06:00
Nikolay Kim
ff0ab733e4 remove unsafe from mask 2018-06-23 11:51:02 +06:00
Nikolay Kim
d1318a35a0 remove unnecessary unsafes 2018-06-23 10:29:23 +06:00
Nikolay Kim
b5594ae2a5
Fix doc api example 2018-06-21 14:11:00 +06:00
Nikolay Kim
cfe6725eb4 Allow to disable masking for websockets client 2018-06-21 09:49:33 +06:00
Nikolay Kim
2f917f3700 various cleanups and comments 2018-06-20 01:27:41 +06:00
Konrad Borowski
e884e7e84e Remove some uses of unsafe from Frame::message 2018-06-19 14:11:53 +02:00
Nikolay Kim
247e8727cb ClientBody is not needed 2018-06-19 10:15:16 +06:00
Nikolay Kim
362b14c2f7 remove unsafe cell from ws client 2018-06-19 09:36:17 +06:00
Nikolay Kim
0f2aac1a27 remove unneed Send and Sync 2018-06-17 08:32:22 +06:00
Nikolay Kim
33050f55a3 remove Context::actor() method 2018-06-17 03:10:44 +06:00
Kaz Wesley
48f77578ea fix url in example 2018-06-11 21:55:05 -07:00
Nikolay Kim
818d0bc187 new StreamHandler impl 2018-06-09 07:53:46 -07:00
Pascal Hertleif
890a7e70d6 Add missing API docs
These were written without much knowledge of the actix-web internals!
Please review carefully!
2018-06-02 15:52:50 +02:00
Nikolay Kim
154cd3c5de better actix mod re-exports 2018-06-01 09:36:16 -07:00
Douman
80965d7a9a
Re-export actix dependency. Closes #260 (#264)
- Re-export actix's prelude into actix namespace
- Removing implicit dependency on root's actix module
2018-05-31 20:43:14 +03:00
Nikolay Kim
a64205e502 refactor TransferEncoding; allow to use client api with threaded tokio runtime 2018-05-29 16:32:39 -07:00
Nikolay Kim
ecd05662c0 use new actix system api 2018-05-29 10:31:37 -07:00
Nikolay Kim
be2ceb7c66 update actix Addr; make ClientConnector thread safe 2018-05-27 05:02:49 -07:00
Nikolay Kim
45e9aaa462 rustfmt 0.7 2018-05-17 12:20:20 -07:00
Nikolay Kim
b748bf3b0d make api public 2018-05-09 06:05:16 -07:00
Nikolay Kim
be12d5e6fc make WsWriter trait optional 2018-05-09 05:48:06 -07:00
Nikolay Kim
a817ddb57b add variable segments support for scope prefix 2018-05-07 13:50:43 -07:00
Alexander Andreev
599fd6af93 fix formatting 2018-05-07 20:53:45 +03:00
Alexander Andreev
cd11293c1f spelling check 2018-05-06 19:07:30 +03:00
Denis Kolodin
80f385e703 Add WsWriter trait
`WsWriter` trait is a common interface for writing to a websocket and
it's implemented for both: `WebScoketContext` and `ClientWriter`.
2018-05-02 08:35:50 +03:00
Nikolay Kim
c72d1381a6 clippy warnings 2018-04-29 09:09:08 -07:00
Nikolay Kim
de49796fd1 clippy warnings; fmt 2018-04-28 22:55:47 -07:00
Nathan Fox
f8b75c157f fix style 2018-04-22 11:43:47 -04:00
Nathan Fox
b7b61afacc add ws close description parse test 2018-04-21 17:20:23 -04:00
Nathan Fox
f6fd9e70f9 code cleanup 2018-04-21 16:53:55 -04:00
Nathan Fox
de8a09254d use Optional with websocket close reason 2018-04-21 16:50:27 -04:00
Nikolay Kim
2adf8a3a48 add changelog entry 2018-04-21 07:56:11 -07:00
Nathan Fox
5528cf62f0 check if close code exists before reading it 2018-04-20 21:30:18 -04:00
Nikolay Kim
113f5ad1a8 add rustfmt config 2018-04-13 16:02:01 -07:00
Nikolay Kim
7be4b1f399 clippy warns 2018-04-04 20:24:09 -07:00
Nikolay Kim
16c212f853 add extractors info to guide 2018-03-31 09:18:25 -07:00
Nikolay Kim
3ee228005d rename Application 2018-03-31 00:16:55 -07:00
Nikolay Kim
44e3df82f6 simplify http response construction; deprecate httpcodes 2018-03-30 23:07:33 -07:00
Nikolay Kim
145010a2b0 use unreachable instead of panic 2018-03-29 15:55:27 -07:00
Nikolay Kim
92fe2e96de update doc strings 2018-03-29 15:00:18 -07:00