Skip to content

Can no longer get SocketType from active socket #372

Closed
@gregorycollins

Description

@gregorycollins

Hi,

You used to be able to get the SocketType from an active Socket by pattern-matching the MkSocket constructor. Since 3.0 this no longer seems to be possible. This breaks io-streams-haproxy. We should expose a getSocketType :: Socket -> SocketType. I'll prepare a PR

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions