Azure / Azure/DotNetty

What is the difference between "CloseAsync" and "DisconnectAsync"?

Open
#509 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.3k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

`IChannelHandlerContext`'s two methods, `CloseAsyncand` and `DisconnectAsync`, both can kick off the client.

There are two questions:
1. What's the difference between these two methods?
2. Which method is recommended to kick off the client?

thanks !

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.