Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
doghappy committed Sep 18, 2021
1 parent 9953523 commit b67aa75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ client.ClientWebSocketProvider = () => new ClientWebSocketManaged();

## Xamarin

Optimized the support for Xamarin: the library will always try to connect to the server, and an exception will be thrown when the connection fails. The library catches some exception types, such as: TimeoutException, WebSocketException, HttpRequestException and OperationCanceledException. If it is one of then, the library will continue to try to connect to the server. If there are other exceptions, the library will stop reconnecting and throw this exception to the upper layer. You need extra attention in Xamarin.
The library will always try to connect to the server, and an exception will be thrown when the connection fails. The library catches some exception types, such as: TimeoutException, WebSocketException, HttpRequestException and OperationCanceledException. If it is one of them, the library will continue to try to connect to the server. If there are other exceptions, the library will stop reconnecting and throw exception to the upper layer. You need extra attention in Xamarin.

For Xamarin.Android you should add the following code:

Expand Down

0 comments on commit b67aa75

Please sign in to comment.