Add support for permessage-deflate
WebSocket extension
#549
Annotations
1 error and 1 warning
Check with Clippy:
awc/src/ws.rs#L454
[clippy] reported by reviewdog 🐶
error[E0061]: this function takes 2 arguments but 1 argument was supplied
--> awc/src/ws.rs:454:21
|
454 | Codec::new_deflate(context)
| ^^^^^^^^^^^^^^^^^^--------- argument #2 of type `actix_http::ws::deflate::DeflateDecompressionContext` is missing
|
note: expected `DeflateCompressionContext`, found `(DeflateCompressionContext, ...)`
--> awc/src/ws.rs:454:40
|
454 | Codec::new_deflate(context)
| ^^^^^^^
= note: expected struct `actix_http::ws::deflate::DeflateCompressionContext`
found tuple `(actix_http::ws::deflate::DeflateCompressionContext, actix_http::ws::deflate::DeflateDecompressionContext)`
note: associated function defined here
--> /home/runner/work/actix-web/actix-web/actix-http/src/ws/codec.rs:534:12
|
534 | pub fn new_deflate(
| ^^^^^^^^^^^
help: provide the argument
|
454 | Codec::new_deflate(/* actix_http::ws::deflate::DeflateCompressionContext */, /* actix_http::ws::deflate::DeflateDecompressionContext */)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Raw Output:
awc/src/ws.rs:454:39:e:error[E0061]: this function takes 2 arguments but 1 argument was supplied
--> awc/src/ws.rs:454:21
|
454 | Codec::new_deflate(context)
| ^^^^^^^^^^^^^^^^^^--------- argument #2 of type `actix_http::ws::deflate::DeflateDecompressionContext` is missing
|
note: expected `DeflateCompressionContext`, found `(DeflateCompressionContext, ...)`
--> awc/src/ws.rs:454:40
|
454 | Codec::new_deflate(context)
| ^^^^^^^
= note: expected struct `actix_http::ws::deflate::DeflateCompressionContext`
found tuple `(actix_http::ws::deflate::DeflateCompressionContext, actix_http::ws::deflate::DeflateDecompressionContext)`
note: associated function defined here
--> /home/runner/work/actix-web/actix-web/actix-http/src/ws/codec.rs:534:12
|
534 | pub fn new_deflate(
| ^^^^^^^^^^^
help: provide the argument
|
454 | Codec::new_deflate(/* actix_http::ws::deflate::DeflateCompressionContext */, /* actix_http::ws::deflate::DeflateDecompressionContext */)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__END__
|
The following actions use a deprecated Node.js version and will be forced to run on node20: giraffate/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading