Everywhere: Make session->verb() callable
This commit is contained in:
parent
69a4d6916f
commit
3728d56ea0
5 changed files with 54 additions and 15 deletions
|
@ -367,7 +367,7 @@ U0 @slon_admin_http_handle_post_request(SlonHttpSession* session)
|
|||
|
||||
U0 @slon_admin_http_handle_request(SlonHttpSession* session)
|
||||
{
|
||||
switch (@slon_http_request_verb(session)) {
|
||||
switch (session->verb()) {
|
||||
case SLON_HTTP_VERB_GET:
|
||||
@slon_admin_http_handle_get_request(session);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue