datastar/ds_act
Types
pub opaque type ActionRestConfig
pub opaque type ContentType
Functions
pub fn delete(url: String) -> ActionRestConfig
https://data-star.dev/reference/actions#delete
pub fn patch(url: String) -> ActionRestConfig
https://data-star.dev/reference/actions#patch
pub fn set_all(signals: String, expression: String) -> String
https://data-star.dev/reference/actions#setall
pub fn toggle_all(signals: String) -> String
https://data-star.dev/reference/actions#toggleall
pub fn with_content_type_form(
config: ActionRestConfig,
) -> ActionRestConfig
pub fn with_headers(
config: ActionRestConfig,
headers: List(#(String, String)),
) -> ActionRestConfig