# Interface: `IRoute` [@jupyterlite/server](../modules/jupyterlite_server.md).[Router](../modules/jupyterlite_server.Router.md).IRoute An interface for a route. ## Properties ### `callback` > > **`callback`**: [`Callback`](../modules/jupyterlite_server.Router.md#callback) #### Defined in [packages/server/src/router.ts:168](https://github.com/jupyterlite/jupyterlite/blob/999c7f0/packages/server/src/router.ts#L168) ### `method` > > **`method`**: [`Method`](../modules/jupyterlite_server.Router.md#method) #### Defined in [packages/server/src/router.ts:166](https://github.com/jupyterlite/jupyterlite/blob/999c7f0/packages/server/src/router.ts#L166) ### `pattern` > > **`pattern`**: `string` \| `RegExp` #### Defined in [packages/server/src/router.ts:167](https://github.com/jupyterlite/jupyterlite/blob/999c7f0/packages/server/src/router.ts#L167)