From e4ae2df144e6f0fed54b6b7472b87d71bbbd567c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Kr=C3=BCger?= Date: Thu, 17 Oct 2024 18:23:53 +0200 Subject: [PATCH] improve readme a tiny bit --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b52c1f8..218817b 100644 --- a/README.md +++ b/README.md @@ -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