Skip to main content

session_type

Function session_type 

Source
pub fn session_type(name: &str) -> String
Expand description

The class of an application session (a #[session] struct) in generated Swift and Kotlin: URL → App_URL.

The declared name with Session appended was Foundation’s URLSession for a session named URL. Bern type names are unique per application, so sessions share the prefix of value types.