title: C# - How to handle HttpListener requests like Discord.NET commands?
body: <p>Does anyone know if it’s possible to handle requests in HttpListener similar to how commands are handled in Discord.NET?</p>
  <p>Example:</p>
  <pre><code>[HttpPost(“SomeUrl”)]
  public void SomeMethod()
  {
   //code happens here
  }
  </code></pre>
  <p>Thank you!</p>