Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ ws のハンドラーを追加 #103

Merged
merged 2 commits into from
Jan 25, 2025
Merged

✨ ws のハンドラーを追加 #103

merged 2 commits into from
Jan 25, 2025

Conversation

SSlime-s
Copy link
Contributor

No description provided.

@SSlime-s SSlime-s self-assigned this Jan 25, 2025
@SSlime-s SSlime-s requested a review from H1rono January 25, 2025 16:06

loop {
tokio::select! {
_ = notify_close2.notified() => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
_ = notify_close2.notified() => {
() = notify_close2.notified() => {

notify_close.notify_one();
return;
}
_ => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
_ => {
axum::extract::ws::Message::Ping(_) | axum::extract::ws::Message::Pong(_) => {

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rustfmtに怒られるかも

@H1rono H1rono merged commit 209459a into main Jan 25, 2025
3 checks passed
@H1rono H1rono deleted the SSlime/add-ws-router branch January 25, 2025 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants