However, at present, I know that the feasible method is to use socket, but I don't want to use any crate. I want to rely on the rust standard library to make a web service. The general idea of its implementation is to define an HTTP type service, and then write some APIs to request the API to obtain data. What knowledge do I need to prepare.
It is very similar to actix-web, but I want to learn to implement it.
What knowledge do I need to know?
What I can think of is:
- HTTP protocol
- SSL security protocol configuration
- socket long link
- custom response return
- custom accept request data (json www-x-form)
- scan API macros
- load configuration file to read YML