@maiyunnet/kebab 7.6.1 → 7.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/doc/kebab-rag.md +1 -1
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/lib/fs.js +6 -1
- package/package.json +1 -1
- package/doc/README.sc.md +0 -201
- package/doc/README.tc.md +0 -203
- package/doc/icon.png +0 -0
- package/doc/sc/api/index/index.md +0 -47
- package/doc/sc/api/index/interfaces/IConfig.md +0 -165
- package/doc/sc/api/index/interfaces/IConfigAi.md +0 -29
- package/doc/sc/api/index/interfaces/IConfigConst.md +0 -201
- package/doc/sc/api/index/interfaces/IConfigDb.md +0 -59
- package/doc/sc/api/index/interfaces/IConfigDns.md +0 -27
- package/doc/sc/api/index/interfaces/IConfigJwt.md +0 -51
- package/doc/sc/api/index/interfaces/IConfigKv.md +0 -59
- package/doc/sc/api/index/interfaces/IConfigLang.md +0 -27
- package/doc/sc/api/index/interfaces/IConfigS3.md +0 -53
- package/doc/sc/api/index/interfaces/IConfigSql.md +0 -19
- package/doc/sc/api/index/interfaces/IConfigTurnstile.md +0 -51
- package/doc/sc/api/index/interfaces/IConfigVector.md +0 -51
- package/doc/sc/api/index/interfaces/IPostFile.md +0 -43
- package/doc/sc/api/index/interfaces/IUrlParse.md +0 -97
- package/doc/sc/api/index/interfaces/IVhost.md +0 -43
- package/doc/sc/api/index/type-aliases/DbValue.md +0 -13
- package/doc/sc/api/index/type-aliases/Json.md +0 -13
- package/doc/sc/api/index/variables/CERT_CWD.md +0 -11
- package/doc/sc/api/index/variables/CONF_CWD.md +0 -11
- package/doc/sc/api/index/variables/FTMP_CWD.md +0 -11
- package/doc/sc/api/index/variables/IND_CWD.md +0 -11
- package/doc/sc/api/index/variables/LIB_CWD.md +0 -11
- package/doc/sc/api/index/variables/LIB_PATH.md +0 -11
- package/doc/sc/api/index/variables/LOG_CWD.md +0 -11
- package/doc/sc/api/index/variables/MOD_CWD.md +0 -11
- package/doc/sc/api/index/variables/ROOT_CWD.md +0 -13
- package/doc/sc/api/index/variables/ROOT_PATH.md +0 -13
- package/doc/sc/api/index/variables/SYS_PATH.md +0 -11
- package/doc/sc/api/index/variables/VER.md +0 -13
- package/doc/sc/api/index/variables/VHOST_CWD.md +0 -11
- package/doc/sc/api/index/variables/WWW_CWD.md +0 -11
- package/doc/sc/api/index.md +0 -48
- package/doc/sc/api/lib/ai/classes/Ai.md +0 -103
- package/doc/sc/api/lib/ai/enumerations/ESERVICE.md +0 -61
- package/doc/sc/api/lib/ai/functions/get.md +0 -29
- package/doc/sc/api/lib/ai/index.md +0 -23
- package/doc/sc/api/lib/ai/interfaces/IOptions.md +0 -65
- package/doc/sc/api/lib/buffer/classes/Reader.md +0 -177
- package/doc/sc/api/lib/buffer/classes/Writer.md +0 -147
- package/doc/sc/api/lib/buffer/functions/getReader.md +0 -25
- package/doc/sc/api/lib/buffer/functions/getWriter.md +0 -25
- package/doc/sc/api/lib/buffer/index.md +0 -17
- package/doc/sc/api/lib/captcha/classes/Captcha.md +0 -79
- package/doc/sc/api/lib/captcha/functions/get.md +0 -37
- package/doc/sc/api/lib/captcha/index.md +0 -15
- package/doc/sc/api/lib/consistent/classes/Consistent.md +0 -135
- package/doc/sc/api/lib/consistent/functions/addToCircle.md +0 -37
- package/doc/sc/api/lib/consistent/functions/fast.md +0 -37
- package/doc/sc/api/lib/consistent/functions/findInCircle.md +0 -37
- package/doc/sc/api/lib/consistent/functions/get.md +0 -21
- package/doc/sc/api/lib/consistent/functions/getRange.md +0 -37
- package/doc/sc/api/lib/consistent/functions/hash.md +0 -25
- package/doc/sc/api/lib/consistent/index.md +0 -20
- package/doc/sc/api/lib/core/functions/checkType.md +0 -37
- package/doc/sc/api/lib/core/functions/clone.md +0 -31
- package/doc/sc/api/lib/core/functions/convert62.md +0 -25
- package/doc/sc/api/lib/core/functions/debug.md +0 -31
- package/doc/sc/api/lib/core/functions/display.md +0 -31
- package/doc/sc/api/lib/core/functions/emptyObject.md +0 -31
- package/doc/sc/api/lib/core/functions/exec.md +0 -31
- package/doc/sc/api/lib/core/functions/getLog.md +0 -71
- package/doc/sc/api/lib/core/functions/ip.md +0 -27
- package/doc/sc/api/lib/core/functions/log.md +0 -37
- package/doc/sc/api/lib/core/functions/ls.md +0 -39
- package/doc/sc/api/lib/core/functions/muid.md +0 -59
- package/doc/sc/api/lib/core/functions/objectSort.md +0 -31
- package/doc/sc/api/lib/core/functions/passThroughAppend.md +0 -37
- package/doc/sc/api/lib/core/functions/purify.md +0 -25
- package/doc/sc/api/lib/core/functions/rand.md +0 -37
- package/doc/sc/api/lib/core/functions/random.md +0 -37
- package/doc/sc/api/lib/core/functions/realIP.md +0 -29
- package/doc/sc/api/lib/core/functions/removeGlobal.md +0 -31
- package/doc/sc/api/lib/core/functions/sendNpm.md +0 -31
- package/doc/sc/api/lib/core/functions/sendPm2.md +0 -37
- package/doc/sc/api/lib/core/functions/sendReload.md +0 -24
- package/doc/sc/api/lib/core/functions/sendRestart.md +0 -24
- package/doc/sc/api/lib/core/functions/setCookie.md +0 -43
- package/doc/sc/api/lib/core/functions/setGlobal.md +0 -37
- package/doc/sc/api/lib/core/functions/sleep.md +0 -25
- package/doc/sc/api/lib/core/functions/unconvert62.md +0 -25
- package/doc/sc/api/lib/core/functions/updateCode.md +0 -49
- package/doc/sc/api/lib/core/functions/write.md +0 -31
- package/doc/sc/api/lib/core/functions/writeEventStreamHead.md +0 -21
- package/doc/sc/api/lib/core/functions/writeHead.md +0 -37
- package/doc/sc/api/lib/core/index.md +0 -66
- package/doc/sc/api/lib/core/interfaces/ICookieOptions.md +0 -59
- package/doc/sc/api/lib/core/interfaces/ILogOptions.md +0 -75
- package/doc/sc/api/lib/core/type-aliases/TPm2Action.md +0 -13
- package/doc/sc/api/lib/core/variables/RANDOM_L.md +0 -13
- package/doc/sc/api/lib/core/variables/RANDOM_LN.md +0 -13
- package/doc/sc/api/lib/core/variables/RANDOM_LU.md +0 -13
- package/doc/sc/api/lib/core/variables/RANDOM_LUN.md +0 -13
- package/doc/sc/api/lib/core/variables/RANDOM_LUNS.md +0 -13
- package/doc/sc/api/lib/core/variables/RANDOM_N.md +0 -13
- package/doc/sc/api/lib/core/variables/RANDOM_U.md +0 -13
- package/doc/sc/api/lib/core/variables/RANDOM_UN.md +0 -13
- package/doc/sc/api/lib/core/variables/RANDOM_V.md +0 -13
- package/doc/sc/api/lib/core/variables/REAL_IP_CF.md +0 -13
- package/doc/sc/api/lib/core/variables/REAL_IP_X.md +0 -13
- package/doc/sc/api/lib/core/variables/global.md +0 -13
- package/doc/sc/api/lib/core/variables/globalConfig.md +0 -47
- package/doc/sc/api/lib/cron/functions/getRegulars.md +0 -17
- package/doc/sc/api/lib/cron/functions/regular.md +0 -31
- package/doc/sc/api/lib/cron/index.md +0 -17
- package/doc/sc/api/lib/cron/interfaces/IRegular.md +0 -59
- package/doc/sc/api/lib/cron/interfaces/IRegularData.md +0 -101
- package/doc/sc/api/lib/crypto/functions/aesDecrypt.md +0 -91
- package/doc/sc/api/lib/crypto/functions/aesEncrypt.md +0 -95
- package/doc/sc/api/lib/crypto/functions/base64Decode.md +0 -59
- package/doc/sc/api/lib/crypto/functions/base64Encode.md +0 -25
- package/doc/sc/api/lib/crypto/functions/cipherDecrypt.md +0 -49
- package/doc/sc/api/lib/crypto/functions/cipherEncrypt.md +0 -49
- package/doc/sc/api/lib/crypto/functions/gcmDecrypt.md +0 -71
- package/doc/sc/api/lib/crypto/functions/gcmEncrypt.md +0 -71
- package/doc/sc/api/lib/crypto/functions/generateKeyPair.md +0 -61
- package/doc/sc/api/lib/crypto/functions/hashHmac.md +0 -79
- package/doc/sc/api/lib/crypto/functions/hashHmacFile.md +0 -79
- package/doc/sc/api/lib/crypto/functions/privateDecrypt.md +0 -31
- package/doc/sc/api/lib/crypto/functions/privateEncrypt.md +0 -31
- package/doc/sc/api/lib/crypto/functions/publicDecrypt.md +0 -31
- package/doc/sc/api/lib/crypto/functions/publicEncrypt.md +0 -31
- package/doc/sc/api/lib/crypto/functions/sign.md +0 -83
- package/doc/sc/api/lib/crypto/functions/sm4Decrypt.md +0 -91
- package/doc/sc/api/lib/crypto/functions/sm4Encrypt.md +0 -91
- package/doc/sc/api/lib/crypto/functions/uuid.md +0 -25
- package/doc/sc/api/lib/crypto/functions/verify.md +0 -43
- package/doc/sc/api/lib/crypto/index.md +0 -40
- package/doc/sc/api/lib/crypto/variables/AES_256_CBC.md +0 -13
- package/doc/sc/api/lib/crypto/variables/AES_256_CTR.md +0 -13
- package/doc/sc/api/lib/crypto/variables/AES_256_ECB.md +0 -13
- package/doc/sc/api/lib/crypto/variables/AES_256_GCM.md +0 -13
- package/doc/sc/api/lib/crypto/variables/SM4_CBC.md +0 -11
- package/doc/sc/api/lib/crypto/variables/SM4_CFB.md +0 -13
- package/doc/sc/api/lib/crypto/variables/SM4_ECB.md +0 -13
- package/doc/sc/api/lib/db/conn/classes/Connection.md +0 -315
- package/doc/sc/api/lib/db/conn/index.md +0 -11
- package/doc/sc/api/lib/db/enumerations/ESERVICE.md +0 -27
- package/doc/sc/api/lib/db/functions/get.md +0 -37
- package/doc/sc/api/lib/db/index.md +0 -50
- package/doc/sc/api/lib/db/interfaces/IData.md +0 -57
- package/doc/sc/api/lib/db/interfaces/IPacket.md +0 -75
- package/doc/sc/api/lib/db/pool/classes/Pool.md +0 -143
- package/doc/sc/api/lib/db/pool/functions/getConnectionList.md +0 -17
- package/doc/sc/api/lib/db/pool/index.md +0 -19
- package/doc/sc/api/lib/db/pool/interfaces/IConnectionInfo.md +0 -91
- package/doc/sc/api/lib/db/tran/classes/Transaction.md +0 -137
- package/doc/sc/api/lib/db/tran/index.md +0 -11
- package/doc/sc/api/lib/dns/classes/Dns.md +0 -187
- package/doc/sc/api/lib/dns/enumerations/ERECORDLINE.md +0 -59
- package/doc/sc/api/lib/dns/enumerations/ERECORDTYPE.md +0 -67
- package/doc/sc/api/lib/dns/enumerations/ESERVICE.md +0 -27
- package/doc/sc/api/lib/dns/functions/get.md +0 -29
- package/doc/sc/api/lib/dns/index.md +0 -27
- package/doc/sc/api/lib/dns/interfaces/IAddDomainRecord.md +0 -27
- package/doc/sc/api/lib/dns/interfaces/IDomainList.md +0 -43
- package/doc/sc/api/lib/dns/interfaces/IOptions.md +0 -41
- package/doc/sc/api/lib/fs/functions/chmod.md +0 -31
- package/doc/sc/api/lib/fs/functions/copyFile.md +0 -31
- package/doc/sc/api/lib/fs/functions/copyFolder.md +0 -37
- package/doc/sc/api/lib/fs/functions/createReadStream.md +0 -31
- package/doc/sc/api/lib/fs/functions/createWriteStream.md +0 -31
- package/doc/sc/api/lib/fs/functions/getContent.md +0 -63
- package/doc/sc/api/lib/fs/functions/isDir.md +0 -25
- package/doc/sc/api/lib/fs/functions/isFile.md +0 -25
- package/doc/sc/api/lib/fs/functions/mkdir.md +0 -31
- package/doc/sc/api/lib/fs/functions/pipe.md +0 -39
- package/doc/sc/api/lib/fs/functions/putContent.md +0 -47
- package/doc/sc/api/lib/fs/functions/readDir.md +0 -29
- package/doc/sc/api/lib/fs/functions/readLink.md +0 -31
- package/doc/sc/api/lib/fs/functions/readToResponse.md +0 -43
- package/doc/sc/api/lib/fs/functions/rename.md +0 -31
- package/doc/sc/api/lib/fs/functions/rmdir.md +0 -25
- package/doc/sc/api/lib/fs/functions/rmdirDeep.md +0 -25
- package/doc/sc/api/lib/fs/functions/stats.md +0 -25
- package/doc/sc/api/lib/fs/functions/symlink.md +0 -37
- package/doc/sc/api/lib/fs/functions/unlink.md +0 -25
- package/doc/sc/api/lib/fs/index.md +0 -30
- package/doc/sc/api/lib/kv/classes/Kv.md +0 -1161
- package/doc/sc/api/lib/kv/functions/get.md +0 -41
- package/doc/sc/api/lib/kv/index.md +0 -20
- package/doc/sc/api/lib/kv/interfaces/IConnectionInfo.md +0 -43
- package/doc/sc/api/lib/kv/interfaces/IZRangeOptions.md +0 -52
- package/doc/sc/api/lib/lan/functions/card.md +0 -17
- package/doc/sc/api/lib/lan/functions/scan.md +0 -17
- package/doc/sc/api/lib/lan/index.md +0 -12
- package/doc/sc/api/lib/lang/functions/getCodeByAccept.md +0 -25
- package/doc/sc/api/lib/lang/index.md +0 -17
- package/doc/sc/api/lib/lang/variables/codes.md +0 -13
- package/doc/sc/api/lib/lang/variables/map.md +0 -13
- package/doc/sc/api/lib/lang/variables/names.md +0 -11
- package/doc/sc/api/lib/net/formdata/classes/FormData.md +0 -157
- package/doc/sc/api/lib/net/formdata/index.md +0 -15
- package/doc/sc/api/lib/net/formdata/interfaces/IItem.md +0 -55
- package/doc/sc/api/lib/net/functions/buildCookieQuery.md +0 -31
- package/doc/sc/api/lib/net/functions/fetch.md +0 -31
- package/doc/sc/api/lib/net/functions/filterHeaders.md +0 -37
- package/doc/sc/api/lib/net/functions/get.md +0 -31
- package/doc/sc/api/lib/net/functions/getCa.md +0 -17
- package/doc/sc/api/lib/net/functions/getFormData.md +0 -17
- package/doc/sc/api/lib/net/functions/mproxy.md +0 -38
- package/doc/sc/api/lib/net/functions/mproxyData.md +0 -25
- package/doc/sc/api/lib/net/functions/open.md +0 -23
- package/doc/sc/api/lib/net/functions/post.md +0 -37
- package/doc/sc/api/lib/net/functions/postJson.md +0 -37
- package/doc/sc/api/lib/net/functions/postJsonResponseJson.md +0 -39
- package/doc/sc/api/lib/net/functions/request.md +0 -33
- package/doc/sc/api/lib/net/functions/resetCookieSession.md +0 -25
- package/doc/sc/api/lib/net/functions/rproxy.md +0 -37
- package/doc/sc/api/lib/net/functions/setCookie.md +0 -63
- package/doc/sc/api/lib/net/index.md +0 -37
- package/doc/sc/api/lib/net/interfaces/ICookie.md +0 -69
- package/doc/sc/api/lib/net/interfaces/IMproxyOptions.md +0 -85
- package/doc/sc/api/lib/net/interfaces/IRequestOptions.md +0 -133
- package/doc/sc/api/lib/net/interfaces/IRproxyOptions.md +0 -107
- package/doc/sc/api/lib/net/request/classes/Request.md +0 -297
- package/doc/sc/api/lib/net/request/index.md +0 -11
- package/doc/sc/api/lib/net/response/classes/Response.md +0 -109
- package/doc/sc/api/lib/net/response/index.md +0 -11
- package/doc/sc/api/lib/net/type-aliases/THttpHeaders.md +0 -27
- package/doc/sc/api/lib/s3/classes/S3.md +0 -220
- package/doc/sc/api/lib/s3/enumerations/ESERVICE.md +0 -43
- package/doc/sc/api/lib/s3/functions/get.md +0 -29
- package/doc/sc/api/lib/s3/index.md +0 -23
- package/doc/sc/api/lib/s3/interfaces/IOptions.md +0 -71
- package/doc/sc/api/lib/scan/classes/Scan.md +0 -127
- package/doc/sc/api/lib/scan/functions/get.md +0 -33
- package/doc/sc/api/lib/scan/functions/scanned.md +0 -37
- package/doc/sc/api/lib/scan/functions/setData.md +0 -35
- package/doc/sc/api/lib/scan/index.md +0 -22
- package/doc/sc/api/lib/scan/interfaces/IOptions.md +0 -43
- package/doc/sc/api/lib/scan/interfaces/IStaticOptions.md +0 -35
- package/doc/sc/api/lib/session/classes/Session.md +0 -103
- package/doc/sc/api/lib/session/index.md +0 -15
- package/doc/sc/api/lib/session/interfaces/IOptions.md +0 -41
- package/doc/sc/api/lib/socket/functions/rwebsocket.md +0 -37
- package/doc/sc/api/lib/socket/index.md +0 -15
- package/doc/sc/api/lib/socket/interfaces/IRwebsocketOptions.md +0 -91
- package/doc/sc/api/lib/sql/classes/Sql.md +0 -791
- package/doc/sc/api/lib/sql/enumerations/EJSON.md +0 -61
- package/doc/sc/api/lib/sql/enumerations/ESERVICE.md +0 -27
- package/doc/sc/api/lib/sql/functions/aoMix.md +0 -25
- package/doc/sc/api/lib/sql/functions/column.md +0 -35
- package/doc/sc/api/lib/sql/functions/format.md +0 -37
- package/doc/sc/api/lib/sql/functions/get.md +0 -43
- package/doc/sc/api/lib/sql/index.md +0 -23
- package/doc/sc/api/lib/ssh/classes/Connection.md +0 -123
- package/doc/sc/api/lib/ssh/functions/get.md +0 -25
- package/doc/sc/api/lib/ssh/index.md +0 -19
- package/doc/sc/api/lib/ssh/interfaces/IExtOptions.md +0 -33
- package/doc/sc/api/lib/ssh/sftp/classes/Connection.md +0 -628
- package/doc/sc/api/lib/ssh/sftp/index.md +0 -11
- package/doc/sc/api/lib/ssh/shell/classes/Connection.md +0 -189
- package/doc/sc/api/lib/ssh/shell/index.md +0 -11
- package/doc/sc/api/lib/text/functions/getFilename.md +0 -25
- package/doc/sc/api/lib/text/functions/htmlescape.md +0 -25
- package/doc/sc/api/lib/text/functions/int2str.md +0 -42
- package/doc/sc/api/lib/text/functions/isAscii.md +0 -25
- package/doc/sc/api/lib/text/functions/isDomain.md +0 -27
- package/doc/sc/api/lib/text/functions/isEMail.md +0 -23
- package/doc/sc/api/lib/text/functions/isFalsy.md +0 -25
- package/doc/sc/api/lib/text/functions/isIPv4.md +0 -23
- package/doc/sc/api/lib/text/functions/isIPv6.md +0 -23
- package/doc/sc/api/lib/text/functions/isIdCardCN.md +0 -25
- package/doc/sc/api/lib/text/functions/isPhoneCN.md +0 -25
- package/doc/sc/api/lib/text/functions/isRealPath.md +0 -25
- package/doc/sc/api/lib/text/functions/isTruthy.md +0 -31
- package/doc/sc/api/lib/text/functions/logicalOr.md +0 -41
- package/doc/sc/api/lib/text/functions/match.md +0 -31
- package/doc/sc/api/lib/text/functions/nlReplace.md +0 -31
- package/doc/sc/api/lib/text/functions/parseDomain.md +0 -25
- package/doc/sc/api/lib/text/functions/parseJson.md +0 -25
- package/doc/sc/api/lib/text/functions/parseUrl.md +0 -23
- package/doc/sc/api/lib/text/functions/queryParse.md +0 -25
- package/doc/sc/api/lib/text/functions/queryStringify.md +0 -69
- package/doc/sc/api/lib/text/functions/sizeFormat.md +0 -31
- package/doc/sc/api/lib/text/functions/str2int.md +0 -36
- package/doc/sc/api/lib/text/functions/stringifyBuffer.md +0 -25
- package/doc/sc/api/lib/text/functions/stringifyJson.md +0 -31
- package/doc/sc/api/lib/text/functions/stringifyResult.md +0 -25
- package/doc/sc/api/lib/text/functions/trimJson.md +0 -23
- package/doc/sc/api/lib/text/functions/urlAtom.md +0 -25
- package/doc/sc/api/lib/text/functions/urlResolve.md +0 -31
- package/doc/sc/api/lib/text/index.md +0 -55
- package/doc/sc/api/lib/text/interfaces/IDomain.md +0 -43
- package/doc/sc/api/lib/text/type-aliases/TFalsy.md +0 -13
- package/doc/sc/api/lib/text/variables/REGEXP_ASCII.md +0 -13
- package/doc/sc/api/lib/text/variables/REGEXP_DOMAIN.md +0 -11
- package/doc/sc/api/lib/text/variables/REGEXP_EMAIL.md +0 -11
- package/doc/sc/api/lib/text/variables/REGEXP_IPV4.md +0 -11
- package/doc/sc/api/lib/text/variables/REGEXP_IPV6.md +0 -11
- package/doc/sc/api/lib/time/classes/Time.md +0 -125
- package/doc/sc/api/lib/time/functions/format.md +0 -37
- package/doc/sc/api/lib/time/functions/get.md +0 -27
- package/doc/sc/api/lib/time/functions/isMs.md +0 -25
- package/doc/sc/api/lib/time/functions/stamp.md +0 -31
- package/doc/sc/api/lib/time/index.md +0 -28
- package/doc/sc/api/lib/time/interfaces/IOptions.md +0 -29
- package/doc/sc/api/lib/time/variables/DAY.md +0 -13
- package/doc/sc/api/lib/time/variables/HOUR.md +0 -13
- package/doc/sc/api/lib/time/variables/YEAR.md +0 -13
- package/doc/sc/api/lib/turnstile/enumerations/EFACTORY.md +0 -27
- package/doc/sc/api/lib/turnstile/functions/verify.md +0 -35
- package/doc/sc/api/lib/turnstile/index.md +0 -15
- package/doc/sc/api/lib/vector/classes/Vector.md +0 -141
- package/doc/sc/api/lib/vector/functions/get.md +0 -25
- package/doc/sc/api/lib/vector/index.md +0 -19
- package/doc/sc/api/lib/vector/interfaces/IOptions.md +0 -61
- package/doc/sc/api/lib/ws/classes/Socket.md +0 -331
- package/doc/sc/api/lib/ws/enumerations/EFrameReceiveMode.md +0 -35
- package/doc/sc/api/lib/ws/enumerations/EOpcode.md +0 -59
- package/doc/sc/api/lib/ws/functions/connect.md +0 -31
- package/doc/sc/api/lib/ws/functions/createServer.md +0 -45
- package/doc/sc/api/lib/ws/functions/mproxy.md +0 -38
- package/doc/sc/api/lib/ws/functions/rproxy.md +0 -37
- package/doc/sc/api/lib/ws/functions/rsocket.md +0 -37
- package/doc/sc/api/lib/ws/index.md +0 -30
- package/doc/sc/api/lib/ws/interfaces/IConnectOptions.md +0 -95
- package/doc/sc/api/lib/ws/interfaces/IMproxyOptions.md +0 -87
- package/doc/sc/api/lib/ws/interfaces/IRproxyOptions.md +0 -105
- package/doc/sc/api/lib/zip/classes/Zip.md +0 -392
- package/doc/sc/api/lib/zip/functions/get.md +0 -25
- package/doc/sc/api/lib/zip/index.md +0 -29
- package/doc/sc/api/lib/zip/interfaces/IZipInputByType.md +0 -81
- package/doc/sc/api/lib/zip/interfaces/IZipItem.md +0 -65
- package/doc/sc/api/lib/zip/interfaces/IZipMetadata.md +0 -25
- package/doc/sc/api/lib/zip/interfaces/IZipOutputByType.md +0 -81
- package/doc/sc/api/lib/zip/interfaces/IZipStats.md +0 -49
- package/doc/sc/api/lib/zip/type-aliases/TZipInputFileFormat.md +0 -11
- package/doc/sc/api/lib/zip/type-aliases/TZipInputType.md +0 -11
- package/doc/sc/api/lib/zip/type-aliases/TZipOutputType.md +0 -11
- package/doc/sc/api/lib/zlib/functions/brotliCompress.md +0 -31
- package/doc/sc/api/lib/zlib/functions/brotliDecompress.md +0 -25
- package/doc/sc/api/lib/zlib/functions/compress.md +0 -37
- package/doc/sc/api/lib/zlib/functions/createBrotliCompress.md +0 -25
- package/doc/sc/api/lib/zlib/functions/createBrotliDecompress.md +0 -17
- package/doc/sc/api/lib/zlib/functions/createCompress.md +0 -31
- package/doc/sc/api/lib/zlib/functions/createDecompress.md +0 -25
- package/doc/sc/api/lib/zlib/functions/createDeflate.md +0 -25
- package/doc/sc/api/lib/zlib/functions/createGunzip.md +0 -17
- package/doc/sc/api/lib/zlib/functions/createGzip.md +0 -25
- package/doc/sc/api/lib/zlib/functions/createInflate.md +0 -17
- package/doc/sc/api/lib/zlib/functions/decompress.md +0 -31
- package/doc/sc/api/lib/zlib/functions/deflate.md +0 -31
- package/doc/sc/api/lib/zlib/functions/gunzip.md +0 -25
- package/doc/sc/api/lib/zlib/functions/gzip.md +0 -31
- package/doc/sc/api/lib/zlib/functions/inflate.md +0 -25
- package/doc/sc/api/lib/zlib/index.md +0 -31
- package/doc/sc/api/lib/zlib/interfaces/ICompress.md +0 -27
- package/doc/sc/api/lib/zlib/interfaces/ICompressBuffer.md +0 -27
- package/doc/sc/api/main/index.md +0 -7
- package/doc/sc/api/sys/ctr/classes/Ctr.md +0 -1242
- package/doc/sc/api/sys/ctr/functions/clearLocaleData.md +0 -17
- package/doc/sc/api/sys/ctr/index.md +0 -15
- package/doc/sc/api/sys/mod/classes/Rows.md +0 -165
- package/doc/sc/api/sys/mod/classes/default.md +0 -2175
- package/doc/sc/api/sys/mod/index.md +0 -21
- package/doc/sc/api/sys/mod/interfaces/IModUnionItem.md +0 -25
- package/doc/sc/api/sys/mod/interfaces/IRows.md +0 -57
- package/doc/sc/api/sys/mod/type-aliases/TOnlyProperties.md +0 -19
- package/doc/sc/api/sys/route/functions/clearKebabConfigs.md +0 -17
- package/doc/sc/api/sys/route/functions/getFormData.md +0 -47
- package/doc/sc/api/sys/route/functions/getPost.md +0 -25
- package/doc/sc/api/sys/route/functions/run.md +0 -83
- package/doc/sc/api/sys/route/functions/unlinkUploadFiles.md +0 -25
- package/doc/sc/api/sys/route/functions/waitCtr.md +0 -26
- package/doc/sc/api/sys/route/index.md +0 -16
- package/doc/sc/quick-start.md +0 -30
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/kv](../index.md) / get
|
|
6
|
-
|
|
7
|
-
# Function: get()
|
|
8
|
-
|
|
9
|
-
> **get**(`ctrEtc`, `oetc?`): [`Kv`](../classes/Kv.md)
|
|
10
|
-
|
|
11
|
-
Defined in: [lib/kv.ts:956](https://github.com/maiyunnet/kebab/blob/master/lib/kv.ts#L956)
|
|
12
|
-
|
|
13
|
-
获取 Kv 对象
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
### ctrEtc
|
|
18
|
-
|
|
19
|
-
控制器或配置信息
|
|
20
|
-
|
|
21
|
-
[`IConfigKv`](../../../index/interfaces/IConfigKv.md) | [`Ctr`](../../../sys/ctr/classes/Ctr.md)
|
|
22
|
-
|
|
23
|
-
### oetc?
|
|
24
|
-
|
|
25
|
-
可用来覆盖 ctr 的一些选项,如 index
|
|
26
|
-
|
|
27
|
-
#### index?
|
|
28
|
-
|
|
29
|
-
`number`
|
|
30
|
-
|
|
31
|
-
#### pwd?
|
|
32
|
-
|
|
33
|
-
`string`
|
|
34
|
-
|
|
35
|
-
#### user?
|
|
36
|
-
|
|
37
|
-
`string`
|
|
38
|
-
|
|
39
|
-
## Returns
|
|
40
|
-
|
|
41
|
-
[`Kv`](../classes/Kv.md)
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../index.md) / lib/kv
|
|
6
|
-
|
|
7
|
-
# lib/kv
|
|
8
|
-
|
|
9
|
-
## Classes
|
|
10
|
-
|
|
11
|
-
- [Kv](classes/Kv.md)
|
|
12
|
-
|
|
13
|
-
## Interfaces
|
|
14
|
-
|
|
15
|
-
- [IConnectionInfo](interfaces/IConnectionInfo.md)
|
|
16
|
-
- [IZRangeOptions](interfaces/IZRangeOptions.md)
|
|
17
|
-
|
|
18
|
-
## Functions
|
|
19
|
-
|
|
20
|
-
- [get](functions/get.md)
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/kv](../index.md) / IConnectionInfo
|
|
6
|
-
|
|
7
|
-
# Interface: IConnectionInfo
|
|
8
|
-
|
|
9
|
-
Defined in: [lib/kv.ts:972](https://github.com/maiyunnet/kebab/blob/master/lib/kv.ts#L972)
|
|
10
|
-
|
|
11
|
-
连接信息
|
|
12
|
-
|
|
13
|
-
## Properties
|
|
14
|
-
|
|
15
|
-
### conn
|
|
16
|
-
|
|
17
|
-
> **conn**: `ICommandClient`
|
|
18
|
-
|
|
19
|
-
Defined in: [lib/kv.ts:976](https://github.com/maiyunnet/kebab/blob/master/lib/kv.ts#L976)
|
|
20
|
-
|
|
21
|
-
***
|
|
22
|
-
|
|
23
|
-
### host
|
|
24
|
-
|
|
25
|
-
> **host**: `string`
|
|
26
|
-
|
|
27
|
-
Defined in: [lib/kv.ts:973](https://github.com/maiyunnet/kebab/blob/master/lib/kv.ts#L973)
|
|
28
|
-
|
|
29
|
-
***
|
|
30
|
-
|
|
31
|
-
### index
|
|
32
|
-
|
|
33
|
-
> **index**: `number`
|
|
34
|
-
|
|
35
|
-
Defined in: [lib/kv.ts:975](https://github.com/maiyunnet/kebab/blob/master/lib/kv.ts#L975)
|
|
36
|
-
|
|
37
|
-
***
|
|
38
|
-
|
|
39
|
-
### port
|
|
40
|
-
|
|
41
|
-
> **port**: `number`
|
|
42
|
-
|
|
43
|
-
Defined in: [lib/kv.ts:974](https://github.com/maiyunnet/kebab/blob/master/lib/kv.ts#L974)
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/kv](../index.md) / IZRangeOptions
|
|
6
|
-
|
|
7
|
-
# Interface: IZRangeOptions
|
|
8
|
-
|
|
9
|
-
Defined in: [lib/kv.ts:15](https://github.com/maiyunnet/kebab/blob/master/lib/kv.ts#L15)
|
|
10
|
-
|
|
11
|
-
## Properties
|
|
12
|
-
|
|
13
|
-
### by?
|
|
14
|
-
|
|
15
|
-
> `optional` **by**: `"SCORE"` \| `"LEX"`
|
|
16
|
-
|
|
17
|
-
Defined in: [lib/kv.ts:22](https://github.com/maiyunnet/kebab/blob/master/lib/kv.ts#L22)
|
|
18
|
-
|
|
19
|
-
Range query type.
|
|
20
|
-
|
|
21
|
-
- SCORE: Query by score range
|
|
22
|
-
- LEX: Query by lexicographical range
|
|
23
|
-
|
|
24
|
-
***
|
|
25
|
-
|
|
26
|
-
### count?
|
|
27
|
-
|
|
28
|
-
> `optional` **count**: `number`
|
|
29
|
-
|
|
30
|
-
Defined in: [lib/kv.ts:37](https://github.com/maiyunnet/kebab/blob/master/lib/kv.ts#L37)
|
|
31
|
-
|
|
32
|
-
Pagination count. Must be used together with offset.
|
|
33
|
-
|
|
34
|
-
***
|
|
35
|
-
|
|
36
|
-
### offset?
|
|
37
|
-
|
|
38
|
-
> `optional` **offset**: `number`
|
|
39
|
-
|
|
40
|
-
Defined in: [lib/kv.ts:32](https://github.com/maiyunnet/kebab/blob/master/lib/kv.ts#L32)
|
|
41
|
-
|
|
42
|
-
Pagination offset. Must be used together with count.
|
|
43
|
-
|
|
44
|
-
***
|
|
45
|
-
|
|
46
|
-
### rev?
|
|
47
|
-
|
|
48
|
-
> `optional` **rev**: `boolean`
|
|
49
|
-
|
|
50
|
-
Defined in: [lib/kv.ts:27](https://github.com/maiyunnet/kebab/blob/master/lib/kv.ts#L27)
|
|
51
|
-
|
|
52
|
-
Whether to return results in reverse order.
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/lan](../index.md) / card
|
|
6
|
-
|
|
7
|
-
# Function: card()
|
|
8
|
-
|
|
9
|
-
> **card**(): `Promise`\<`object`[]\>
|
|
10
|
-
|
|
11
|
-
Defined in: [lib/lan.ts:7](https://github.com/maiyunnet/kebab/blob/master/lib/lan.ts#L7)
|
|
12
|
-
|
|
13
|
-
获取当前网卡的 IP、MAC 信息
|
|
14
|
-
|
|
15
|
-
## Returns
|
|
16
|
-
|
|
17
|
-
`Promise`\<`object`[]\>
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/lan](../index.md) / scan
|
|
6
|
-
|
|
7
|
-
# Function: scan()
|
|
8
|
-
|
|
9
|
-
> **scan**(): `Promise`\<`object`[]\>
|
|
10
|
-
|
|
11
|
-
Defined in: [lib/lan.ts:63](https://github.com/maiyunnet/kebab/blob/master/lib/lan.ts#L63)
|
|
12
|
-
|
|
13
|
-
扫描发生关联的局域网 IP
|
|
14
|
-
|
|
15
|
-
## Returns
|
|
16
|
-
|
|
17
|
-
`Promise`\<`object`[]\>
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/lang](../index.md) / getCodeByAccept
|
|
6
|
-
|
|
7
|
-
# Function: getCodeByAccept()
|
|
8
|
-
|
|
9
|
-
> **getCodeByAccept**(`accept?`): `string`
|
|
10
|
-
|
|
11
|
-
Defined in: [lib/lang.ts:36](https://github.com/maiyunnet/kebab/blob/master/lib/lang.ts#L36)
|
|
12
|
-
|
|
13
|
-
根据常用语言字符串获取语言 code
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
### accept?
|
|
18
|
-
|
|
19
|
-
`string`
|
|
20
|
-
|
|
21
|
-
常用字符串,如 zh-cn,或包含 zh-cn 的字符串
|
|
22
|
-
|
|
23
|
-
## Returns
|
|
24
|
-
|
|
25
|
-
`string`
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../index.md) / lib/lang
|
|
6
|
-
|
|
7
|
-
# lib/lang
|
|
8
|
-
|
|
9
|
-
## Variables
|
|
10
|
-
|
|
11
|
-
- [codes](variables/codes.md)
|
|
12
|
-
- [map](variables/map.md)
|
|
13
|
-
- [names](variables/names.md)
|
|
14
|
-
|
|
15
|
-
## Functions
|
|
16
|
-
|
|
17
|
-
- [getCodeByAccept](functions/getCodeByAccept.md)
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/lang](../index.md) / codes
|
|
6
|
-
|
|
7
|
-
# Variable: codes
|
|
8
|
-
|
|
9
|
-
> `const` **codes**: `string`[]
|
|
10
|
-
|
|
11
|
-
Defined in: [lib/lang.ts:2](https://github.com/maiyunnet/kebab/blob/master/lib/lang.ts#L2)
|
|
12
|
-
|
|
13
|
-
支持的语言缩写列表
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/lang](../index.md) / map
|
|
6
|
-
|
|
7
|
-
# Variable: map
|
|
8
|
-
|
|
9
|
-
> `const` **map**: `Record`\<`string`, `string`\>
|
|
10
|
-
|
|
11
|
-
Defined in: [lib/lang.ts:13](https://github.com/maiyunnet/kebab/blob/master/lib/lang.ts#L13)
|
|
12
|
-
|
|
13
|
-
浏览器常用映射为本语言
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/lang](../index.md) / names
|
|
6
|
-
|
|
7
|
-
# Variable: names
|
|
8
|
-
|
|
9
|
-
> `const` **names**: `string`[]
|
|
10
|
-
|
|
11
|
-
Defined in: [lib/lang.ts:7](https://github.com/maiyunnet/kebab/blob/master/lib/lang.ts#L7)
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../../index.md) / [lib/net/formdata](../index.md) / FormData
|
|
6
|
-
|
|
7
|
-
# Class: FormData
|
|
8
|
-
|
|
9
|
-
Defined in: [lib/net/formdata.ts:22](https://github.com/maiyunnet/kebab/blob/master/lib/net/formdata.ts#L22)
|
|
10
|
-
|
|
11
|
-
## Extends
|
|
12
|
-
|
|
13
|
-
- `Readable`
|
|
14
|
-
|
|
15
|
-
## Constructors
|
|
16
|
-
|
|
17
|
-
### Constructor
|
|
18
|
-
|
|
19
|
-
> **new FormData**(`opts?`): `FormData`
|
|
20
|
-
|
|
21
|
-
Defined in: node\_modules/@types/node/stream.d.ts:163
|
|
22
|
-
|
|
23
|
-
#### Parameters
|
|
24
|
-
|
|
25
|
-
##### opts?
|
|
26
|
-
|
|
27
|
-
`ReadableOptions`\<`Readable`\>
|
|
28
|
-
|
|
29
|
-
#### Returns
|
|
30
|
-
|
|
31
|
-
`FormData`
|
|
32
|
-
|
|
33
|
-
#### Inherited from
|
|
34
|
-
|
|
35
|
-
`stream.Readable.constructor`
|
|
36
|
-
|
|
37
|
-
## Methods
|
|
38
|
-
|
|
39
|
-
### \_read()
|
|
40
|
-
|
|
41
|
-
> **\_read**(): `void`
|
|
42
|
-
|
|
43
|
-
Defined in: [lib/net/formdata.ts:115](https://github.com/maiyunnet/kebab/blob/master/lib/net/formdata.ts#L115)
|
|
44
|
-
|
|
45
|
-
间隔读取(on data 或 pipe 触发)
|
|
46
|
-
|
|
47
|
-
#### Returns
|
|
48
|
-
|
|
49
|
-
`void`
|
|
50
|
-
|
|
51
|
-
#### Overrides
|
|
52
|
-
|
|
53
|
-
`stream.Readable._read`
|
|
54
|
-
|
|
55
|
-
***
|
|
56
|
-
|
|
57
|
-
### getBoundary()
|
|
58
|
-
|
|
59
|
-
> **getBoundary**(): `string`
|
|
60
|
-
|
|
61
|
-
Defined in: [lib/net/formdata.ts:93](https://github.com/maiyunnet/kebab/blob/master/lib/net/formdata.ts#L93)
|
|
62
|
-
|
|
63
|
-
获取 boundary
|
|
64
|
-
|
|
65
|
-
#### Returns
|
|
66
|
-
|
|
67
|
-
`string`
|
|
68
|
-
|
|
69
|
-
***
|
|
70
|
-
|
|
71
|
-
### getLength()
|
|
72
|
-
|
|
73
|
-
> **getLength**(): `number`
|
|
74
|
-
|
|
75
|
-
Defined in: [lib/net/formdata.ts:100](https://github.com/maiyunnet/kebab/blob/master/lib/net/formdata.ts#L100)
|
|
76
|
-
|
|
77
|
-
获取总字节长度
|
|
78
|
-
|
|
79
|
-
#### Returns
|
|
80
|
-
|
|
81
|
-
`number`
|
|
82
|
-
|
|
83
|
-
***
|
|
84
|
-
|
|
85
|
-
### getSent()
|
|
86
|
-
|
|
87
|
-
> **getSent**(): `number`
|
|
88
|
-
|
|
89
|
-
Defined in: [lib/net/formdata.ts:107](https://github.com/maiyunnet/kebab/blob/master/lib/net/formdata.ts#L107)
|
|
90
|
-
|
|
91
|
-
获取已发送的字节长度
|
|
92
|
-
|
|
93
|
-
#### Returns
|
|
94
|
-
|
|
95
|
-
`number`
|
|
96
|
-
|
|
97
|
-
***
|
|
98
|
-
|
|
99
|
-
### putFile()
|
|
100
|
-
|
|
101
|
-
> **putFile**(`key`, `path`, `fname?`): `Promise`\<`boolean`\>
|
|
102
|
-
|
|
103
|
-
Defined in: [lib/net/formdata.ts:67](https://github.com/maiyunnet/kebab/blob/master/lib/net/formdata.ts#L67)
|
|
104
|
-
|
|
105
|
-
添加文件
|
|
106
|
-
|
|
107
|
-
#### Parameters
|
|
108
|
-
|
|
109
|
-
##### key
|
|
110
|
-
|
|
111
|
-
`string`
|
|
112
|
-
|
|
113
|
-
键
|
|
114
|
-
|
|
115
|
-
##### path
|
|
116
|
-
|
|
117
|
-
`string`
|
|
118
|
-
|
|
119
|
-
路径
|
|
120
|
-
|
|
121
|
-
##### fname?
|
|
122
|
-
|
|
123
|
-
`string`
|
|
124
|
-
|
|
125
|
-
可选,文件名
|
|
126
|
-
|
|
127
|
-
#### Returns
|
|
128
|
-
|
|
129
|
-
`Promise`\<`boolean`\>
|
|
130
|
-
|
|
131
|
-
***
|
|
132
|
-
|
|
133
|
-
### putString()
|
|
134
|
-
|
|
135
|
-
> **putString**(`key`, `val`): `void`
|
|
136
|
-
|
|
137
|
-
Defined in: [lib/net/formdata.ts:50](https://github.com/maiyunnet/kebab/blob/master/lib/net/formdata.ts#L50)
|
|
138
|
-
|
|
139
|
-
添加字符串
|
|
140
|
-
|
|
141
|
-
#### Parameters
|
|
142
|
-
|
|
143
|
-
##### key
|
|
144
|
-
|
|
145
|
-
`string`
|
|
146
|
-
|
|
147
|
-
键
|
|
148
|
-
|
|
149
|
-
##### val
|
|
150
|
-
|
|
151
|
-
`string`
|
|
152
|
-
|
|
153
|
-
值
|
|
154
|
-
|
|
155
|
-
#### Returns
|
|
156
|
-
|
|
157
|
-
`void`
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / lib/net/formdata
|
|
6
|
-
|
|
7
|
-
# lib/net/formdata
|
|
8
|
-
|
|
9
|
-
## Classes
|
|
10
|
-
|
|
11
|
-
- [FormData](classes/FormData.md)
|
|
12
|
-
|
|
13
|
-
## Interfaces
|
|
14
|
-
|
|
15
|
-
- [IItem](interfaces/IItem.md)
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../../index.md) / [lib/net/formdata](../index.md) / IItem
|
|
6
|
-
|
|
7
|
-
# Interface: IItem
|
|
8
|
-
|
|
9
|
-
Defined in: [lib/net/formdata.ts:12](https://github.com/maiyunnet/kebab/blob/master/lib/net/formdata.ts#L12)
|
|
10
|
-
|
|
11
|
-
Item 对象
|
|
12
|
-
|
|
13
|
-
## Properties
|
|
14
|
-
|
|
15
|
-
### isFile
|
|
16
|
-
|
|
17
|
-
> **isFile**: `boolean`
|
|
18
|
-
|
|
19
|
-
Defined in: [lib/net/formdata.ts:15](https://github.com/maiyunnet/kebab/blob/master/lib/net/formdata.ts#L15)
|
|
20
|
-
|
|
21
|
-
***
|
|
22
|
-
|
|
23
|
-
### isString
|
|
24
|
-
|
|
25
|
-
> **isString**: `boolean`
|
|
26
|
-
|
|
27
|
-
Defined in: [lib/net/formdata.ts:16](https://github.com/maiyunnet/kebab/blob/master/lib/net/formdata.ts#L16)
|
|
28
|
-
|
|
29
|
-
***
|
|
30
|
-
|
|
31
|
-
### key
|
|
32
|
-
|
|
33
|
-
> **key**: `string`
|
|
34
|
-
|
|
35
|
-
Defined in: [lib/net/formdata.ts:14](https://github.com/maiyunnet/kebab/blob/master/lib/net/formdata.ts#L14)
|
|
36
|
-
|
|
37
|
-
key 键
|
|
38
|
-
|
|
39
|
-
***
|
|
40
|
-
|
|
41
|
-
### path
|
|
42
|
-
|
|
43
|
-
> **path**: `string`
|
|
44
|
-
|
|
45
|
-
Defined in: [lib/net/formdata.ts:19](https://github.com/maiyunnet/kebab/blob/master/lib/net/formdata.ts#L19)
|
|
46
|
-
|
|
47
|
-
***
|
|
48
|
-
|
|
49
|
-
### value
|
|
50
|
-
|
|
51
|
-
> **value**: `string`
|
|
52
|
-
|
|
53
|
-
Defined in: [lib/net/formdata.ts:18](https://github.com/maiyunnet/kebab/blob/master/lib/net/formdata.ts#L18)
|
|
54
|
-
|
|
55
|
-
值或者文件名
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/net](../index.md) / buildCookieQuery
|
|
6
|
-
|
|
7
|
-
# Function: buildCookieQuery()
|
|
8
|
-
|
|
9
|
-
> **buildCookieQuery**(`cookie`, `uri`): `string`
|
|
10
|
-
|
|
11
|
-
Defined in: [lib/net.ts:469](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L469)
|
|
12
|
-
|
|
13
|
-
对象转换为 Cookie 拼接字符串(会自动筛掉不能发送的 cookie)
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
### cookie
|
|
18
|
-
|
|
19
|
-
`Record`\<`string`, [`ICookie`](../interfaces/ICookie.md)\>
|
|
20
|
-
|
|
21
|
-
cookie 对象
|
|
22
|
-
|
|
23
|
-
### uri
|
|
24
|
-
|
|
25
|
-
[`IUrlParse`](../../../index/interfaces/IUrlParse.md)
|
|
26
|
-
|
|
27
|
-
请求的 URI 对象
|
|
28
|
-
|
|
29
|
-
## Returns
|
|
30
|
-
|
|
31
|
-
`string`
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/net](../index.md) / fetch
|
|
6
|
-
|
|
7
|
-
# Function: fetch()
|
|
8
|
-
|
|
9
|
-
> **fetch**(`input`, `init`): `Promise`\<`Response`\>
|
|
10
|
-
|
|
11
|
-
Defined in: [lib/net.ts:118](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L118)
|
|
12
|
-
|
|
13
|
-
发起一个原生 fetch 请求,增加了一些框架选项,注意:会抛出错误
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
### input
|
|
18
|
-
|
|
19
|
-
请求的 URL 或 Request 对象
|
|
20
|
-
|
|
21
|
-
`string` | `Request` | `URL`
|
|
22
|
-
|
|
23
|
-
### init
|
|
24
|
-
|
|
25
|
-
`RequestInit` & `object` = `{}`
|
|
26
|
-
|
|
27
|
-
增加 mproxy
|
|
28
|
-
|
|
29
|
-
## Returns
|
|
30
|
-
|
|
31
|
-
`Promise`\<`Response`\>
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/net](../index.md) / filterHeaders
|
|
6
|
-
|
|
7
|
-
# Function: filterHeaders()
|
|
8
|
-
|
|
9
|
-
> **filterHeaders**(`headers`, `res?`, `filter?`): `Record`\<`string`, `string` \| `string`[]\>
|
|
10
|
-
|
|
11
|
-
Defined in: [lib/net.ts:547](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L547)
|
|
12
|
-
|
|
13
|
-
剔除不代理的 header,返回新的 header
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
### headers
|
|
18
|
-
|
|
19
|
-
剔除前的 header
|
|
20
|
-
|
|
21
|
-
`IncomingHttpHeaders` | `IncomingHttpHeaders` | [`THttpHeaders`](../type-aliases/THttpHeaders.md)
|
|
22
|
-
|
|
23
|
-
### res?
|
|
24
|
-
|
|
25
|
-
直接设置头部而不返回,可置空
|
|
26
|
-
|
|
27
|
-
`Http2ServerResponse`\<`Http2ServerRequest`\> | `ServerResponse`\<`IncomingMessage`\>
|
|
28
|
-
|
|
29
|
-
### filter?
|
|
30
|
-
|
|
31
|
-
(`h`) => `boolean`
|
|
32
|
-
|
|
33
|
-
返回 true 则留下
|
|
34
|
-
|
|
35
|
-
## Returns
|
|
36
|
-
|
|
37
|
-
`Record`\<`string`, `string` \| `string`[]\>
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/net](../index.md) / get
|
|
6
|
-
|
|
7
|
-
# Function: get()
|
|
8
|
-
|
|
9
|
-
> **get**(`u`, `opt`): `Promise`\<[`Response`](../response/classes/Response.md)\>
|
|
10
|
-
|
|
11
|
-
Defined in: [lib/net.ts:54](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L54)
|
|
12
|
-
|
|
13
|
-
发起一个 get 请求
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
### u
|
|
18
|
-
|
|
19
|
-
`string`
|
|
20
|
-
|
|
21
|
-
请求的 URL
|
|
22
|
-
|
|
23
|
-
### opt
|
|
24
|
-
|
|
25
|
-
[`IRequestOptions`](../interfaces/IRequestOptions.md) = `{}`
|
|
26
|
-
|
|
27
|
-
参数
|
|
28
|
-
|
|
29
|
-
## Returns
|
|
30
|
-
|
|
31
|
-
`Promise`\<[`Response`](../response/classes/Response.md)\>
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/net](../index.md) / getCa
|
|
6
|
-
|
|
7
|
-
# Function: getCa()
|
|
8
|
-
|
|
9
|
-
> **getCa**(): `Promise`\<`string`\>
|
|
10
|
-
|
|
11
|
-
Defined in: [lib/net.ts:28](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L28)
|
|
12
|
-
|
|
13
|
-
获取 CA 证书
|
|
14
|
-
|
|
15
|
-
## Returns
|
|
16
|
-
|
|
17
|
-
`Promise`\<`string`\>
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
[**Documents for @maiyunnet/kebab**](../../../index.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[Documents for @maiyunnet/kebab](../../../index.md) / [lib/net](../index.md) / getFormData
|
|
6
|
-
|
|
7
|
-
# Function: getFormData()
|
|
8
|
-
|
|
9
|
-
> **getFormData**(): [`FormData`](../formdata/classes/FormData.md)
|
|
10
|
-
|
|
11
|
-
Defined in: [lib/net.ts:531](https://github.com/maiyunnet/kebab/blob/master/lib/net.ts#L531)
|
|
12
|
-
|
|
13
|
-
创建 FormData 对象
|
|
14
|
-
|
|
15
|
-
## Returns
|
|
16
|
-
|
|
17
|
-
[`FormData`](../formdata/classes/FormData.md)
|