node_io library

Node.js I/O system for Dart.

This library is designed so that you should be able to replace imports of dart:io with package:node_io/node_io.dart and get the same functionality working without any additional modifications.

Classes

BytesBuilder
Builds a list of bytes, allowing bytes and lists of bytes to be added at the end. [...]
ContentType
Representation of a content type. An instance of ContentType is immutable.
Representation of a cookie. For cookies received by the server as Cookie header values only name and value fields will be set. When building a cookie for the 'set-cookie' header in the server and when receiving cookies in the client as 'set-cookie' headers all fields can be used.
Datagram
Datagram package. Data send to and received from datagram sockets contains the internet address and port of the destination or source togeter with the data.
Directory
A reference to a directory (or folder) on the file system. [...]
File
A reference to a file on the file system. [...]
FileMode
The modes in which a File can be opened.
FileStat
A FileStat object represents the result of calling the POSIX stat() function on a file system object. It is an immutable object, representing the snapshotted values returned by the stat() call.
FileSystemEntity
The common super class for File, Directory, and Link objects. [...]
FileSystemEntityType
The type of an entity on the file system, such as a file, directory, or link. [...]
HeaderValue
Representation of a header value in the form: [...]
HttpConnectionInfo
Information about an HttpRequest, HttpResponse, HttpClientRequest, or HttpClientResponse connection.
HttpDate
Utility functions for working with dates with HTTP specific date formats.
HttpHeaders
Headers for HTTP requests and responses. [...]
HttpRequest
A server-side object that contains the content of and information about an HTTP request. [...]
HttpResponse
An HTTP response, which returns the headers and data from the server to the client in response to an HTTP request. [...]
HttpServer
A server that delivers content, such as web pages, using the HTTP protocol. [...]
HttpStatus
HTTP status codes. Exported in dart:io and dart:html.
InternetAddress
An internet address. [...]
InternetAddressType
InternetAddressType is the type an InternetAddress. Currently, IP version 4 (IPv4) and IP version 6 (IPv6) are supported.
IOSink
A combined byte and text output. [...]
Link objects are references to filesystem links.
NetworkInterface
A NetworkInterface represents an active network interface on the current system. It contains a list of InternetAddresses that are bound to the interface.
OSError
An OSError object holds information about an error from the operating system.
Platform
Information about the environment in which the current program is running. [...]
RandomAccessFile
RandomAccessFile provides random access to the data in a file. [...]

Properties

exitCode ↔ int
Get the global exit code for the current process. [...]
read / write
pid → int
Returns the PID of the current process.
read-only

Functions

exit([int code ]) → void
Exit the process immediately with the given exit code. [...]

Exceptions / Errors

FileSystemException
Exception thrown when a file operation fails.
HttpException