LocalServerManager class
- Implemented types
- Implementers
Constructors
Properties
-
basicCache
↔ Map<
String, dynamic> -
getter/setter pair
-
builders
↔ List<
LocalServerCacheBinder> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- loadStartTime ↔ int
-
getter/setter pair
- localServerClientConfig ↔ LocalServerClientConfig
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serviceDegradationMap
↔ Map<
String, bool> -
getter/setter pair
- unSupportLocalServer ↔ bool
-
getter/setter pair
Methods
-
assetsDidFullyDownloaded(
) → dynamic -
所有Asset下载资源完成
override
-
basicsDidFullyDownloaded(
bool isSuc, List< DownloadServiceItem> basicsBucket) → dynamic -
所有basic下载资源完成
override
-
cancelLocalServer(
) → void -
createServerFailure(
dynamic err) → dynamic -
server创建失败
override
-
createServerSuccess(
int port, String localAddress) → dynamic -
server创建成功
override
-
fetchRespondsSources(
String path) → dynamic -
server 获取返回资源
override
-
init(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
prepareManager(
LocalServerClientConfig localServerClientConfig) → void -
registerBuilder(
LocalServerCacheBinder builder) → void -
requestServerFailure(
String path, Object error) → dynamic -
server 请求失败
override
-
resignBuilder(
LocalServerCacheBinder builder) → void -
serverDidCancel(
) → dynamic -
server关闭
override
-
serverWillCancel(
) → dynamic -
server将要关闭
override
-
setWebViewErrorCode(
int errorCode) → void -
simpleAssetDownloadsComplete(
DownloadServiceItem item) → void -
单个asset下载完成
override
-
simpleAssetDownloadsFailure(
DownloadServiceItem item, String errMsg) → dynamic -
单个asset下载失败
override
-
startLocalServer(
[String? address, int? port]) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited