Deno class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Properties
-
env
→ Env
-
An interface containing methods to interact with the process
environment variables.
no setter
Static Methods
-
connect({required int port, String hostname = '127.0.0.1', String transport = 'tcp'})
→ Future<TcpConn>
-
-
connectTls({required int port, String hostname = '127.0.0.1', Iterable<String>? caCerts, String? certChain, String? privateKey, Iterable<String>? alpnProtocols})
→ dynamic
-
-
cwd()
→ Uri
-
Return a Uri representing the current working directory.
-
lstat(Uri uri)
→ dynamic
-
-
open(Uri uri, {bool read = true, bool write = false, bool append = false, bool truncate = false, bool create = false, bool createNew = false, num? mode})
→ dynamic
-
-
readDir(Uri uri)
→ Stream<DirEntry>
-
Reads the directory given by path and returns a Stream of DirEntry.
-
readFile(Uri uri, {AbortSignal? signal})
→ Future<ByteBuffer>
-
-
readLink(Uri uri)
→ Future<String>
-
-
readTextFile(Uri uri, {AbortSignal? signal})
→ Future<String>
-
-
realPath(Uri uri)
→ Future<String>
-
-
resolveDns()
→ dynamic
-
-
startTls({String hostname = '127.0.0.1', Iterable<String>? caCerts, Iterable<String>? alpnProtocols})
→ dynamic
-
-
stat(Uri uri)
→ dynamic
-