[Yunq] Add support for empty requests and responses.

This commit is contained in:
Drew Galbraith 2023-11-27 08:03:12 -08:00
parent 6d108f6965
commit cc4b5bd811
11 changed files with 91 additions and 22 deletions

View file

@ -2,7 +2,7 @@
#pragma once
#include <glacier/status/error_or.h>
#include <mammoth/thread.h>
#include <mammoth/proc/thread.h>
#include <ztypes.h>
#include "example.yunq.h"
@ -21,9 +21,11 @@ class VFSServerBase {
[[nodiscard]] Thread RunServer();
[[nodiscard]] virtual glcr::ErrorCode Handleopen(const OpenFileRequest&, File&) = 0;
private:
z_cap_t endpoint_;