mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:17:34 +00:00
WebContent: Add ConnectionFromClient::fd() accessor
This commit is contained in:
parent
eb709ddd63
commit
e75645bbf8
1 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,8 @@ public:
|
|||
|
||||
void request_file(NonnullRefPtr<Web::FileRequest>&);
|
||||
|
||||
Optional<int> fd() { return socket().fd(); }
|
||||
|
||||
private:
|
||||
explicit ConnectionFromClient(NonnullOwnPtr<Core::Stream::LocalSocket>);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue