actix-web/actix-web-actors
lberrymage 272099d0f4
Rename `HttpResponse` httpcode methods to snake_case
It's Rust convention for method names to be in snake case, so much so
that the compiler emits a warning by default for non-snake-case methods.
Reading something like `HttpResponse::Ok()` leads me to believe that I'm
creating an instance of the `Ok` variant of a `HttpResponse` enum, but
for some reason there's no associated data (which _is_ possible, there's
just no reason to define an enum that way).

There are other cases of #[allow(non_snake_case)] in the actix codebase,
but this commit only addresses the `HttpResponse::XXX()` methods.
2021-01-14 23:40:29 -09:00
..
src Rename `HttpResponse` httpcode methods to snake_case 2021-01-14 23:40:29 -09:00
tests use ByteString as container for websocket text message (#1864) 2021-01-04 11:27:32 +00:00
CHANGES.md prepare v4 beta releases (#1881) 2021-01-07 20:02:08 +00:00
Cargo.toml remove actix-threadpool.use actix_rt::task::spawn_blocking (#1878) 2021-01-09 16:04:19 +00:00
LICENSE-APACHE add license files 2019-06-01 17:25:29 +06:00
LICENSE-MIT add license files 2019-06-01 17:25:29 +06:00
README.md bump msrv in ci and readme 2020-05-13 01:57:37 +01:00

README.md

Actix actors support for actix web framework Build Status codecov crates.io Join the chat at https://gitter.im/actix/actix

Documentation & community resources