()
| 316 | this[RouteTypeId] = RouteTypeId |
| 317 | } |
| 318 | toJSON(): unknown { |
| 319 | return { |
| 320 | _id: "@effect/platform/HttpRouter/Route", |
| 321 | method: this.method, |
| 322 | path: this.path, |
| 323 | prefix: this.prefix.toJSON() |
| 324 | } |
| 325 | } |
| 326 | } |
| 327 | |
| 328 | class RouteContextImpl implements Router.RouteContext { |