Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/actix/examples
/ functions
Functions
527 in github.com/actix/examples
⨍
Functions
527
◇
Types & classes
153
Function
main
()
templating/yarte/build.rs:1
Function
main
()
templating/yarte/src/main.rs:25
Function
main
()
json/json-error/src/main.rs:36
Function
main
()
json/json-decode-error/src/main.rs:29
Function
main
()
json/json-validation/src/main.rs:77
Function
main
()
json/json/src/main.rs:32
Function
main
()
json/jsonrpc/src/main.rs:140
Function
main
()
graphql/juniper-advanced/src/main.rs:11
Function
main
()
graphql/async-graphql/src/main.rs:27
Function
main
()
graphql/juniper/src/main.rs:32
Function
main
()
data-factory/src/main.rs:4
Function
main
()
databases/mongodb/src/main.rs:55
Function
main
()
databases/diesel-async/src/main.rs:76
Function
main
()
databases/postgres/src/main.rs:41
Function
main
()
databases/mysql/src/main.rs:25
Function
main
()
databases/redis/src/main.rs:74
Function
main
()
databases/sqlite/src/main.rs:51
Function
main
()
databases/diesel/src/main.rs:78
Function
main
()
https-tls/rustls/src/main.rs:23
Function
main
()
https-tls/hot-reload/src/main.rs:25
Function
main
()
https-tls/openssl/src/main.rs:21
Function
main
()
https-tls/cert-watch/src/main.rs:28
Function
main
()
https-tls/rustls-client-cert/src/main.rs:75
Function
main
()
https-tls/acme-letsencrypt/src/main.rs:139
Function
main
()
https-tls/awc-https/src/main.rs:39
Function
main
()
tracing/mainmatter-workshop/src/main.rs:13
Function
main
()
shutdown-server/src/main.rs:17
Function
make_encrypted
( cipher: Data<Aes256GcmSiv>, Json(Req { id, data, .. }): Json<Req>, )
middleware/encrypted-payloads/src/main.rs:29
Function
metrics
(metrics_handle: ThinData<PrometheusHandle>)
tracing/mainmatter-workshop/src/routes.rs:18
Method
name
(&self)
graphql/juniper-advanced/src/schemas/product.rs:36
Method
name
The name of the human.
graphql/async-graphql/src/star_wars/model.rs:32
Method
new
Constructs new rate limiter.
middleware/rate-limit/src/rate_limit.rs:65
Method
new
(visitor_count: Arc<AtomicUsize>)
websockets/chat/src/server.rs:78
Method
new
( addr: Addr<ChatServer>, framed: actix::io::FramedWrite<ChatResponse, WriteHalf<TcpStream>, C
websockets/chat-tcp/src/session.rs:142
Method
new
()
websockets/chat-actorless/src/server.rs:67
Method
new
Construct new uploaded file info container.
forms/multipart-s3/src/upload_file.rs:14
Method
new
Construct S3 client wrapper.
forms/multipart-s3/src/client.rs:19
Method
new
()
json/jsonrpc/src/main.rs:101
Method
new
(code: i32, message: &str)
json/jsonrpc/src/convention.rs:30
Method
new
()
graphql/async-graphql/src/star_wars/mod.rs:31
Method
new
only needed in tests
databases/diesel-async/src/models.rs:24
Method
new
only needed in tests
databases/diesel/src/models.rs:22
Method
new_transform
(&self, service: S)
middleware/rate-limit/src/rate_limit.rs:82
Method
new_transform
(&self, service: S)
middleware/http-response/src/simple.rs:42
Method
new_transform
(&self, service: S)
middleware/various/src/read_request_body.rs:28
Method
new_transform
(&self, service: S)
middleware/various/src/simple.rs:30
Method
new_transform
(&self, service: S)
middleware/various/src/read_response_body.rs:29
Method
new_transform
(&self, service: S)
middleware/various/src/redirect.rs:25
Method
new_transform
(&self, service: S)
middleware/request-extensions/src/add_msg.rs:70
Function
not_found
(res: dev::ServiceResponse<B>)
basics/todo/src/api.rs:128
Function
not_found
Error handler for a 404 Page not found error.
templating/tera/src/main.rs:60
Function
not_found
Error handler for a 404 Page not found error.
templating/minijinja/src/main.rs:118
Function
not_found
Error handler for a 404 Page not found error.
templating/fluent/src/main.rs:97
Function
not_found
Error handler for a 404 Page not found error.
templating/tinytemplate/src/main.rs:65
Function
not_found
Error handler for a 404 Page not found error.
templating/handlebars/src/main.rs:76
Function
op
()
protobuf/client.py:21
Function
page
(params: web::Path<(i32,)>)
templating/sailfish/src/main.rs:30
Function
parallel_weather
Version 2: Calls 4 queries in parallel, as an asynchronous handler Returning Error types turn into None values in the response
databases/sqlite/src/main.rs:38
Function
parse_client_command
(msg: &str)
websockets/chat-tcp/src/client.rs:88
Method
poll
(self: Pin<&mut Self>, cx: &mut Context<'_>)
middleware/various/src/read_response_body.rs:76
Method
poll_next
( self: Pin<&mut Self>, cx: &mut Context<'_>, )
middleware/various/src/read_response_body.rs:109
Method
poll_ready
(&self, ctx: &mut Context<'_>)
middleware/request-extensions/src/add_msg.rs:28
Function
post_invitation
( invitation_data: web::Json<InvitationData>, pool: web::Data<Pool>, )
auth/simple-auth-server/src/invitation_handler.rs:15
Method
pre_start
( &self, myself: ActorRef<Self::Msg>, session: Self::Arguments, )
websockets/echo/src/server.rs:84
Method
price
(&self)
graphql/juniper-advanced/src/schemas/product.rs:39
Method
primary_function
The primary function of the droid.
graphql/async-graphql/src/star_wars/model.rs:98
Function
process_email_job
(job: Email)
background-jobs/src/persistent_jobs.rs:23
Function
process_text_msg
( chat_server: &ChatServerHandle, session: &mut actix_ws::Session, text: &str, conn: ConnId,
websockets/chat-actorless/src/handler.rs:89
Method
product
(context: &Context, id: String)
graphql/juniper-advanced/src/schemas/root.rs:69
Method
products
(&self, context: &Context)
graphql/juniper-advanced/src/schemas/user.rs:40
Method
products
(context: &Context)
graphql/juniper-advanced/src/schemas/root.rs:55
Function
query
Diesel query
auth/simple-auth-server/src/invitation_handler.rs:34
Method
random
()
background-jobs/src/persistent_jobs.rs:16
Function
register
(config: &mut web::ServiceConfig)
graphql/juniper-advanced/src/handlers.rs:31
Function
register_user
( invitation_id: web::Path<String>, user_data: web::Json<UserData>, pool: web::Data<Pool>, )
auth/simple-auth-server/src/register_handler.rs:18
Function
remove_part
(_id: web::Path<String>)
basics/nested-routing/src/handlers/parts.rs:17
Function
remove_product
(_id: web::Path<String>)
basics/nested-routing/src/handlers/products.rs:17
Function
request_telemetry
( req: ServiceRequest, next: Next<impl MessageBody>, )
tracing/mainmatter-workshop/src/middleware.rs:14
Function
reverse_data
(Json(Req { id, data, .. }): Json<Req>)
middleware/encrypted-payloads/src/main.rs:49
Function
route_whoami
(req: HttpRequest)
https-tls/rustls-client-cert/src/main.rs:30
Function
rpc_handler
The main handler for JSONRPC server.
json/jsonrpc/src/main.rs:17
Method
sample
(&self, rng: &mut R)
basics/error-handling/src/main.rs:44
Function
save_file_manual
(mut payload: Multipart)
forms/multipart/src/main.rs:73
Function
save_files
( MultipartForm(form): MultipartForm<UploadForm>, )
forms/multipart/src/main.rs:20
Function
secret_key_default
()
auth/simple-auth-server/src/utils.rs:38
Function
send_email
( sender: Data<RedisStorage<Email>>, web::Json(form): web::Json<Email>, )
background-jobs/src/routes.rs:38
Function
send_email_batch
( sender: Data<RedisStorage<Email>>, )
background-jobs/src/routes.rs:52
Function
send_to_broadcast_ws
Send message to clients connected to broadcast WebSocket.
websockets/echo-actorless/src/main.rs:44
Method
size
(&self)
middleware/various/src/read_response_body.rs:105
Method
spawn_ping
Pings clients every 10 seconds to see if they are alive and remove them from the broadcast list if not.
server-sent-events/src/broadcast.rs:36
Method
started
(&mut self, ctx: &mut Self::Context)
websockets/chat-broker/src/server.rs:64
Method
started
(&mut self, ctx: &mut Self::Context)
websockets/chat-broker/src/session.rs:80
Method
started
Method is called on actor start. We register ws session with ChatServer
websockets/chat/src/session.rs:64
Method
started
Method is called on actor start. We register ws session with ChatServer
websockets/chat-tcp/src/main.rs:60
Method
started
(&mut self, ctx: &mut Self::Context)
websockets/chat-tcp/src/session.rs:47
Method
status_code
(&self)
databases/mysql/src/persistence.rs:25
Method
std
(code: i32)
json/jsonrpc/src/convention.rs:38
Function
stdin_callback
()
websockets/chat-broker/client.py:18
Function
stdin_callback
()
websockets/echo/websocket-client.py:16
Function
stdin_callback
()
websockets/chat-tcp/client.py:18
← previous
next →
401–500 of 527, ranked by callers