Commit Graph

13 Commits

Author SHA1 Message Date
Koxiaet
6e628031bf Rework subscriptions
The main change in this commit is changing the return type of
SubscriptionType::create_stream from
Future<Result<Stream<Result<Response>>>> to just Stream<Result<Json>>. I
also allowed the returned stream to borrow from self and context.
2020-09-13 18:52:36 +01:00
Koxiaet
8d92454fc3 Support !Unpin in receive_body with pin project 2020-09-13 11:49:07 +01:00
Koxiaet
dcc7d1be14 Replace http::GQLRequest with Request 2020-09-12 17:07:46 +01:00
Sunli
1320d1ae45 Change MultipartOptions to a builder. 2020-09-12 07:43:50 +08:00
Sunli
049b652dd6 Add transports::websocket module. 2020-09-11 15:54:56 +08:00
Sunli
91c75ced2a Make all tests passed (async-graphql). 2020-09-10 19:35:48 +08:00
Sunli
22d6e20da3 Merge changes. 2020-09-10 16:54:38 +08:00
Koxiaet
3945599015 Move HTTP functions to HTTP module 2020-09-10 08:04:24 +01:00
sunli
2a63fe1b54 Replace multipart parser with multer. 2020-05-17 16:26:36 +08:00
sunli
8e9aff105e Support Upload Stream #15
I think the previous implementation is not elegant enough, the `QueryBuilder::set_files_holder` function looks disgusting, so I refactored it.
By the way, the performance of parsing InputValue has been optimized, and unnecessary clones have been removed.
2020-05-11 21:47:24 +08:00
sunli
98cdfd4c42 v1.9.5 2020-04-21 12:13:14 +08:00
sunli
a11248aa95 Add IntoQueryBuilderOpts 2020-04-21 10:14:14 +08:00
sunli
0b6bfd4c33 Add GQLHttpRequest and IntoQueryBuilder trait 2020-04-11 17:36:05 +08:00