#[steam_endpoint]Expand description
Annotate a Steam HTTP endpoint method with structured metadata.
§Syntax
ⓘ
#[steam_endpoint(GET, host = Community, path = "/actions/GetNotificationCounts", kind = Read)]
pub async fn get_notifications(&self) -> Result<Notifications, SteamUserError> { ... }METHOD: bare ident —GET,POST,PUT, orDELETE.host: bare ident — variant ofcrate::endpoint::Host.path: string literal — URL path template (e.g./profiles/{steam_id}/edit), not a resolved URL. Used as a low-cardinality label in metrics.kind: bare ident — variant ofcrate::endpoint::EndpointKind(Read,Write,Auth,Upload,Recovery).