Everywhere: Make session->verb() callable

This commit is contained in:
Alec Murphy 2025-02-21 11:13:31 -05:00
parent 69a4d6916f
commit 3728d56ea0
5 changed files with 54 additions and 15 deletions

View file

@ -182,7 +182,7 @@ U0 @slon_local_http_handle_get_request(SlonHttpSession* session)
U0 @slon_local_http_handle_request(SlonHttpSession* session)
{
switch (@slon_http_request_verb(session)) {
switch (session->verb()) {
case SLON_HTTP_VERB_GET:
@slon_local_http_handle_get_request(session);
break;