tring"></span></header><section><div><pre><code class="language-julia hljs">mg_register!(method::Symbol, uri::AbstractString, handler::Function)</code></pre><p>Registers an HTTP request handler for a specific method and URI.</p><p><strong>Arguments</strong></p><ul><li><code>method::AbstractString</code>: The HTTP method (e.g., GET, POST, PUT, PATCH, DELETE).</li><li><code>uri::AbstractString</code>: The URI path to register the handler for (e.g., &quot;/api/users&quot;).</li><li><code>handler::Function</cod