1iveowl / WebsocketClientLite.PCL

Websocket client lite
MIT License
39 stars 14 forks source link

Feature/Multi-Targetting #69

Closed ErisApps closed 2 years ago

ErisApps commented 2 years ago

As a follow-up on issue #67 in which the TFM was corrected in the nuspec file to netstandard2.1, making me unable to consume the package. This PR basically re-adds support for netstandard2.0 again by taking an additional dependency on Microsoft.Bcl.AsyncInterfaces (for the IAsyncEnumerable<T> type) and System.Memory (for Span and Memory types/support) Furthermore does it fix 2 method calls for which the exact signature is available in netstandard2.1, but not in netstandard2.0.

If there's something missing or anything, feel free to let me know.

(Targets the master branch due to this containing the latest changes)

1iveowl commented 2 years ago

Awesome! Thank you for your contribution.