Skip to content

Commit

Permalink
improve readme a tiny bit
Browse files Browse the repository at this point in the history
  • Loading branch information
radstevee committed Oct 17, 2024
1 parent 8b2caab commit e4ae2df
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
Inject is a simple server-side mod to allow developers to inject into
Netty easier.

HTTP example:
## Example
This uses the `HttpInjector` class to respond to HTTP requests to the Minecraft
server.

```kt
object MyEpicHttpInjector : HttpInjector() {
override fun isRelevant(ctx: InjectorContext, request: HttpRequest) = true
Expand Down

0 comments on commit e4ae2df

Please sign in to comment.