Skip to content
Source
Sign inSign up
Open History to see the last commit

effect__platform__HttpMultiplex.yaml

3 lines557 Bytes

1"@effect/platform/HttpMultiplex":
2 replacement: none
3 note: The HttpMultiplex module, value, constructor, and nominal type id were removed with no v4 counterpart. Replace them with a custom first-match Effect dispatcher requiring HttpServerRequest; initialize an empty dispatcher, then add or fold predicate/app pairs into it. Recreate header helpers with predicates over lower-cased request header values using exact equality, String.startsWith, String.endsWith, or RegExp.test; recreate host helpers with the same comparisons over request.headers.host.