summaryrefslogtreecommitdiff
path: root/src/stream_wrap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream_wrap.h')
-rw-r--r--src/stream_wrap.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/stream_wrap.h b/src/stream_wrap.h
index 40947d508..43702f3c9 100644
--- a/src/stream_wrap.h
+++ b/src/stream_wrap.h
@@ -28,6 +28,14 @@
namespace node {
+
+enum WriteEncoding {
+ kAscii,
+ kUtf8,
+ kUcs2
+};
+
+
class StreamWrap : public HandleWrap {
public:
uv_stream_t* GetStream() { return stream_; }