# Plugin

`class` in `http` · v0.2.3

<https://docs.seedcord.org/packages/http/0.2.3/classes/plugin>

Base class for an HTTP plugin, binding `this.core` to the HTTP [`Core`](/packages/http/0.2.3/interfaces/core).

A plugin that runs on either transport extends the base from `@seedcord/core/plugin`, whose `this.core` is typed to the shared members only.

```ts
abstract class Plugin<
    Opts extends HttpPluginOptions = {}
> extends Plugin<Opts, Core>
```
