Runtime class abstract
This interface is implemented in web/runtime, node/runtime, react-native/runtime and worker/runtime. Its job is to be the only point of contact to platform-specific code for the core library. When the core library imports "runtime", Webpack will look for src/runtimes/
- Implementers
- Annotations
- 
    - @anonymous
- @JS.new()
 
Constructors
- Runtime()
Properties
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- httpFactory ↔ HTTPFactory
- 
  
  getter/setter pair
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- ScriptReceivers ↔ ScriptReceiverFactory
- 
  
  getter/setter pair
- timelineTransport ↔ TimelineTransport
- 
  
  getter/setter pair
- transportConnectionInitializer ↔ Function
- 
  
  getter/setter pair
- Transports ↔ TransportsTable
- 
  
  getter/setter pair
Methods
- 
  addUnloadListener(Function listener) → void 
- 
  createJSONPRequest(String url, dynamic data) → JSONPRequest 
- 
  createScriptRequest(String url) → dynamic 
- 
  createSocketRequest(String method, String url) → HTTPRequest 
- 
  createWebSocket(String url) → Socket 
- 
  createXHR() → Ajax 
- 
  getAuthorizers() → Map< String, AuthTransport> 
- 
  getDefaultStrategy(Config config, StrategyOptions options, Function defineTransport) → Strategy 
- 
  getDocument() → Document 
- these methods/types are only implemented in the web Runtime, so they're optional but must be included in the interface
- 
  getLocalStorage() → dynamic 
- 
  getNetwork() → Reachability 
- 
  getProtocol() → String 
- 
  getWebSocketAPI() → Socket 
- 
  getXHRAPI() → Ajax 
- 
  isXDRSupported([bool useTLS]) → bool 
- 
  isXHRSupported() → bool 
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  removeUnloadListener(Function listener) → void 
- 
  setup(dynamic PusherClass) → void 
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited