jaspervdj / websockets

A Haskell library for creating WebSocket-capable servers
http://jaspervdj.be/websockets
BSD 3-Clause "New" or "Revised" License
405 stars 112 forks source link

Client: correctly reject request #236

Closed domenkozar closed 6 months ago

domenkozar commented 6 months ago

While this is technically a breaking change in the API, RequestRejected was never raised before.

Fixes #134

cc @jaspervdj

domenkozar commented 6 months ago

@jaspervdj I'm planning to make more changes that will require a breaking change.

I think it's good to shape the library to be easier to use even if we do break backwards compatibility at the API level.

jaspervdj commented 6 months ago

@domenkozar sounds good -- let's batch up the changes though so we only break the API once if possible?