Skip to main content

get_current_user

Function get_current_user 

Source
pub async fn get_current_user() -> Result<CurrentUserResponse, ServerFnError>
Expand description

获取当前登录用户的公开信息。

Dioxus server function,注册在 /api 路径下。

§Handler information

  • Method: post
  • Path: <auto>