Skip to content

Commit

Permalink
RawSocketOption (dart-archive#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnfield authored and zanderso committed Jan 17, 2019
1 parent d1a9883 commit 0e2dfeb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/src/http_impl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2763,6 +2763,14 @@ class _DetachedSocket extends Stream<List<int>> implements Socket {
return _socket.setOption(option, enabled);
}

Uint8List getRawOption(RawSocketOption option) {
return _socket.getRawOption(option);
}

void setRawOption(RawSocketOption option) {
_socket.setRawOption(option);
}

Map _toJSON(bool ref) {
return (_socket as dynamic)._toJSON(ref);
}
Expand Down

0 comments on commit 0e2dfeb

Please sign in to comment.