| 1 | /** |
| 2 | * Re-export of the Undici HTTP client package used by the Node platform. |
| 3 | * |
| 4 | * This module gives Effect applications a package-local import for Undici |
| 5 | * primitives while working with `@effect/platform-node`. Import named Undici |
| 6 | * APIs from here when configuring Node HTTP client dispatchers, creating agents |
| 7 | * or mock agents, setting the process-global dispatcher, or sharing the same |
| 8 | * Undici types with integrations that use the platform HTTP client. |
| 9 | * |
| 10 | * The module does not wrap or reinterpret Undici behavior. It forwards the |
| 11 | * installed `undici` named exports and default export, so connection pooling, |
| 12 | * dispatcher lifetimes, mocking, aborts, and request options follow Undici's |
| 13 | * own semantics. |
| 14 | * |
| 15 | * @stability unstable |
| 16 | * @since 4.0.0 |
| 17 | */ |
| 18 | import Undici from "undici" |
| 19 | |
| 20 | /** |
| 21 | * @stability unstable |
| 22 | * @category re-exports |
| 23 | * @since 4.0.0 |
| 24 | */ |
| 25 | export * from "undici" |
| 26 | |
| 27 | /** |
| 28 | * @stability unstable |
| 29 | * @category re-exports |
| 30 | * @since 4.0.0 |
| 31 | */ |
| 32 | export default Undici |