Crate awpak_rs_macros
Source - body_param
- The
body_param macro extracts a specific parameter from the request body. - context
- Macro for accessing and modifying the request context in
awpak-rs. - part_file
- Macro for extracting a single file from a multipart request in
awpak-rs. - part_files
- Macro for extracting multiple files from a multipart request in
awpak-rs. - path_variable
- The
path_variable macro extracts a path parameter from the URL. - query_param
- The
query_param macro extracts a single query parameter from the URL. - query_params
- The
query_params macro deserializes multiple query parameters into a struct. - redirect_to
- request_body
- The
request_body macro deserializes the entire request body into a Rust type. - request_cookies
- Macro for accessing cookies in
awpak-rs request handlers. - request_headers
- Extracts the request headers in an endpoint function.
- response_cookies
- Macro for modifying response cookies in
awpak-rs request handlers. - response_headers
- Provides access to response headers in an endpoint function.
- set_status_code
- awpak_main
- The
awpak_main macro defines the entry point for an awpak-rs web application. - connect
- Defines an HTTP
CONNECT route. - delete
- Defines an HTTP
DELETE route. - get
- The
get macro defines an HTTP GET endpoint for an awpak-rs web application. - head
- Defines an HTTP
HEAD route. - middleware
- Defines a middleware function in
awpak-rs. - options
- Defines an HTTP
OPTIONS route. - patch
- Defines an HTTP
PATCH route. - post
- The
post macro defines an HTTP POST endpoint for an awpak-rs web application. - put
- Defines an HTTP
PUT route. - trace
- Defines an HTTP
TRACE route.
- FromValue
- Derive macro for implementing
FromValue.