Questions tagged [rust-actix]

Actix is a rust library built on the Actor Model which allows applications to be written as a group of independently executing but cooperating "Actors" which communicate via messages.

Actix (source code) is a Rust actors framework.

233 questions
1
vote
0 answers

How to detect/process when a client drops connection in Actix Rust lib

My server uses Actix-web Rust framework. It functions as a proxy, forwarding client requests to a backend (PostgreSQL), and returns the responses. Due to the nature of my service (map tile server), the client often cancels the GET requests using the…
Yuri Astrakhan
  • 8,808
  • 6
  • 63
  • 97
1
vote
0 answers

actix-session invalidate session

I'm currently using actix session with redis for handling user sessions in web app. I cant figure out how to handle user password reset (aka. "forgot password"). What I mean by password reset: User request password reset and receives an email with…
nobody5000
  • 71
  • 5
1
vote
1 answer

Create and call actor from another actor in actix

I am using actix to implement some simple processing logic in rust. The idea is that I have an actor type Parent which makes some decision and sometimes needs to create a Child actor, send message to it and get response. I noticed that actix Handler…
tkachuko
  • 1,956
  • 1
  • 13
  • 20
1
vote
1 answer

Actix web CORS error despite using Cors::permissive

I'm making a simple note taking app with a backend written in actix and a frontend in svelte. I'm trying to implement starring notes: Card.svelte