Files
effect/migration/annotations/effect__platform__HttpServer.yaml
T

28 lines
1.4 KiB
YAML

"@effect/platform/HttpServer#addressWith":
replacement: "HttpServer.HttpServer.use(({ address }) => effect(address))"
note: "The accessor was removed; read the service and pass its Address to the callback."
"@effect/platform/HttpServer#HttpServer":
replacement: "HttpServer.HttpServer"
note: "The interface and tag became one Context.Service class; use its Service member for implementations."
"@effect/platform/HttpServer#layerContext":
replacement: "HttpServer.layerServices"
note: "Renamed; it provides the standard HTTP platform services."
"@effect/platform/HttpServer#make":
replacement: "HttpServer.make"
note: "Retained; it returns the Context.Service implementation."
"@effect/platform/HttpServer#ServeOptions":
replacement: "none"
note: "The unused respond option model was removed with no shared v4 counterpart."
"@effect/platform/HttpServer#TcpAddress":
replacement: "HttpServer.TcpAddress"
note: "Moved unchanged."
"@effect/platform/HttpServer#TypeId":
replacement: "none"
note: "The public TypeId was removed; HttpServer is now a Context.Service class."
"@effect/platform/HttpServer#UnixAddress":
replacement: "HttpServer.UnixAddress"
note: "Moved unchanged."
"@effect/platform/HttpServer#serve":
replacement: "effect/unstable/http/HttpServer#serve"
note: "Moved to the v4 HTTP module; the application is now an Effect producing HttpServerResponse rather than the separate HttpApp model."