---
title: "RouteGroup"
sidebar_label: "RouteGroup"
description: "The clika_runtime.http RouteGroup class."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

Routes under a shared path prefix and middleware chain, from
    :meth:`HttpServer.group`. The same registrars as the server, plus
    :meth:`group` for a nested group. Register before the server listens.

## `__init__`

```python
__init__(self, bound: '_core_http.RouteGroup') -> 'None'
```

Initialize self.  See help(type(self)) for accurate signature.

## `group`

```python
group(self, prefix: 'str') -> 'RouteGroup'
```

group(prefix) -> RouteGroup

A nested group; prefix and middleware compose with this group's.
