Rocketbot.zip
大小:2.66MB
价格:10积分
下载量:0
评分:
5.0
上传者:weixin_46259929
更新日期:2025-09-22

Rocket 实现Bot

资源文件列表(大概)

文件名
大小
Rebot/
-
Rebot/.git/
-
Rebot/.git/config
316B
Rebot/.git/description
73B
Rebot/.git/HEAD
23B
Rebot/.git/hooks/
-
Rebot/.git/hooks/applypatch-msg.sample
478B
Rebot/.git/hooks/commit-msg.sample
896B
Rebot/.git/hooks/fsmonitor-watchman.sample
4.62KB
Rebot/.git/hooks/post-update.sample
189B
Rebot/.git/hooks/pre-applypatch.sample
424B
Rebot/.git/hooks/pre-commit.sample
1.6KB
Rebot/.git/hooks/pre-merge-commit.sample
416B
Rebot/.git/hooks/pre-push.sample
1.34KB
Rebot/.git/hooks/pre-rebase.sample
4.78KB
Rebot/.git/hooks/pre-receive.sample
544B
Rebot/.git/hooks/prepare-commit-msg.sample
1.46KB
Rebot/.git/hooks/push-to-checkout.sample
2.72KB
Rebot/.git/hooks/update.sample
3.56KB
Rebot/.git/index
39.15KB
Rebot/.git/info/
-
Rebot/.git/info/exclude
240B
Rebot/.git/logs/
-
Rebot/.git/logs/HEAD
197B
Rebot/.git/logs/refs/
-
Rebot/.git/logs/refs/heads/
-
Rebot/.git/logs/refs/heads/master
197B
Rebot/.git/logs/refs/remotes/
-
Rebot/.git/logs/refs/remotes/origin/
-
Rebot/.git/logs/refs/remotes/origin/HEAD
197B
Rebot/.git/objects/
-
Rebot/.git/objects/info/
-
Rebot/.git/objects/pack/
-
Rebot/.git/objects/pack/pack-5d0bd8d43b92811c483cfb58ec94ca716f304858.idx
12.31KB
Rebot/.git/objects/pack/pack-5d0bd8d43b92811c483cfb58ec94ca716f304858.pack
1.28MB
Rebot/.git/packed-refs
114B
Rebot/.git/refs/
-
Rebot/.git/refs/heads/
-
Rebot/.git/refs/heads/master
41B
Rebot/.git/refs/remotes/
-
Rebot/.git/refs/remotes/origin/
-
Rebot/.git/refs/remotes/origin/HEAD
32B
Rebot/.git/refs/tags/
-
Rebot/.gitignore
391B
Rebot/111.png
31.84KB
Rebot/easybot.js
2.09KB
Rebot/node_modules/
-
Rebot/node_modules/.package-lock.json
7.78KB
Rebot/node_modules/@rocket.chat/
-
Rebot/node_modules/@rocket.chat/sdk/
-
Rebot/node_modules/@rocket.chat/sdk/dist/
-
Rebot/node_modules/@rocket.chat/sdk/dist/config/
-
Rebot/node_modules/@rocket.chat/sdk/dist/config/asteroidInterfaces.d.ts
3.77KB
Rebot/node_modules/@rocket.chat/sdk/dist/config/asteroidInterfaces.js
125B
Rebot/node_modules/@rocket.chat/sdk/dist/config/asteroidInterfaces.js.map
3.95KB
Rebot/node_modules/@rocket.chat/sdk/dist/config/driverInterfaces.d.ts
1.21KB
Rebot/node_modules/@rocket.chat/sdk/dist/config/driverInterfaces.js
123B
Rebot/node_modules/@rocket.chat/sdk/dist/config/driverInterfaces.js.map
1.34KB
Rebot/node_modules/@rocket.chat/sdk/dist/config/messageInterfaces.d.ts
1.67KB
Rebot/node_modules/@rocket.chat/sdk/dist/config/messageInterfaces.js
188B
Rebot/node_modules/@rocket.chat/sdk/dist/config/messageInterfaces.js.map
2.21KB
Rebot/node_modules/@rocket.chat/sdk/dist/index.d.ts
220B
Rebot/node_modules/@rocket.chat/sdk/dist/index.js
741B
Rebot/node_modules/@rocket.chat/sdk/dist/index.js.map
456B
Rebot/node_modules/@rocket.chat/sdk/dist/lib/
-
Rebot/node_modules/@rocket.chat/sdk/dist/lib/api.d.ts
3.36KB
Rebot/node_modules/@rocket.chat/sdk/dist/lib/api.js
9.55KB
Rebot/node_modules/@rocket.chat/sdk/dist/lib/api.js.map
14.94KB
Rebot/node_modules/@rocket.chat/sdk/dist/lib/driver.d.ts
9.64KB
Rebot/node_modules/@rocket.chat/sdk/dist/lib/driver.js
21.24KB
Rebot/node_modules/@rocket.chat/sdk/dist/lib/driver.js.map
31.03KB
Rebot/node_modules/@rocket.chat/sdk/dist/lib/log.d.ts
219B
Rebot/node_modules/@rocket.chat/sdk/dist/lib/log.js
897B
Rebot/node_modules/@rocket.chat/sdk/dist/lib/log.js.map
1.73KB
Rebot/node_modules/@rocket.chat/sdk/dist/lib/message.d.ts
512B
Rebot/node_modules/@rocket.chat/sdk/dist/lib/message.js
730B
Rebot/node_modules/@rocket.chat/sdk/dist/lib/message.js.map
1.26KB
Rebot/node_modules/@rocket.chat/sdk/dist/lib/methodCache.d.ts
1.76KB
Rebot/node_modules/@rocket.chat/sdk/dist/lib/methodCache.js
3.09KB
Rebot/node_modules/@rocket.chat/sdk/dist/lib/methodCache.js.map
4.75KB
Rebot/node_modules/@rocket.chat/sdk/dist/lib/settings.d.ts
626B
Rebot/node_modules/@rocket.chat/sdk/dist/lib/settings.js
1.74KB
Rebot/node_modules/@rocket.chat/sdk/dist/lib/settings.js.map
3.48KB
Rebot/node_modules/@rocket.chat/sdk/dist/utils/
-
Rebot/node_modules/@rocket.chat/sdk/dist/utils/config.d.ts
178B
Rebot/node_modules/@rocket.chat/sdk/dist/utils/config.js
1.05KB
Rebot/node_modules/@rocket.chat/sdk/dist/utils/config.js.map
1.85KB
Rebot/node_modules/@rocket.chat/sdk/dist/utils/interfaces.d.ts
3.68KB
Rebot/node_modules/@rocket.chat/sdk/dist/utils/interfaces.js
117B
Rebot/node_modules/@rocket.chat/sdk/dist/utils/interfaces.js.map
7.13KB
Rebot/node_modules/@rocket.chat/sdk/dist/utils/setup.d.ts
12B
Rebot/node_modules/@rocket.chat/sdk/dist/utils/setup.js
313B
Rebot/node_modules/@rocket.chat/sdk/dist/utils/setup.js.map
465B
Rebot/node_modules/@rocket.chat/sdk/dist/utils/start.d.ts
12B
Rebot/node_modules/@rocket.chat/sdk/dist/utils/start.js
3.08KB
Rebot/node_modules/@rocket.chat/sdk/dist/utils/start.js.map
4.08KB
Rebot/node_modules/@rocket.chat/sdk/dist/utils/testing.d.ts
2.75KB
Rebot/node_modules/@rocket.chat/sdk/dist/utils/testing.js
11.05KB
Rebot/node_modules/@rocket.chat/sdk/dist/utils/testing.js.map
15.22KB
Rebot/node_modules/@rocket.chat/sdk/dist/utils/users.d.ts
12B
Rebot/node_modules/@rocket.chat/sdk/dist/utils/users.js
1.94KB
Rebot/node_modules/@rocket.chat/sdk/dist/utils/users.js.map
1.77KB
Rebot/node_modules/@rocket.chat/sdk/LICENSE
1.06KB
Rebot/node_modules/@rocket.chat/sdk/package.json
2.13KB
Rebot/node_modules/@rocket.chat/sdk/README.md
20.97KB
Rebot/node_modules/@types/
-
Rebot/node_modules/@types/lru-cache/
-
Rebot/node_modules/@types/lru-cache/index.d.ts
6.87KB
Rebot/node_modules/@types/lru-cache/LICENSE
1.13KB
Rebot/node_modules/@types/lru-cache/package.json
987B
Rebot/node_modules/@types/lru-cache/README.md
565B
Rebot/node_modules/@types/node/
-
Rebot/node_modules/@types/node/base.d.ts
386.39KB
Rebot/node_modules/@types/node/index.d.ts
2.66KB
Rebot/node_modules/@types/node/inspector.d.ts
103.26KB
Rebot/node_modules/@types/node/LICENSE
1.13KB
Rebot/node_modules/@types/node/package.json
4.64KB
Rebot/node_modules/@types/node/README.md
1.87KB
Rebot/node_modules/asteroid/
-
Rebot/node_modules/asteroid/.travis.yml
227B
Rebot/node_modules/asteroid/bower.json
678B
Rebot/node_modules/asteroid/dist/
-
Rebot/node_modules/asteroid/dist/asteroid.browser.js
32.61KB
Rebot/node_modules/asteroid/dist/asteroid.chrome.js
32.94KB
Rebot/node_modules/asteroid/dist/asteroid.cordova.js
33.6KB
Rebot/node_modules/asteroid/dist/asteroid.node.js
31.11KB
Rebot/node_modules/asteroid/dist/plugins/
-
Rebot/node_modules/asteroid/dist/plugins/facebook-login.js
1.29KB
Rebot/node_modules/asteroid/dist/plugins/github-login.js
1.28KB
Rebot/node_modules/asteroid/dist/plugins/google-login.js
1.32KB
Rebot/node_modules/asteroid/dist/plugins/twitter-login.js
1.21KB
Rebot/node_modules/asteroid/docs/
-
Rebot/node_modules/asteroid/docs/set.md
2.04KB
Rebot/node_modules/asteroid/gulpfile.js
7KB
Rebot/node_modules/asteroid/LICENSE
1.09KB
Rebot/node_modules/asteroid/package.json
1.15KB
Rebot/node_modules/asteroid/README.md
15.57KB
Rebot/node_modules/asteroid/src/
-
Rebot/node_modules/asteroid/src/core/
-
Rebot/node_modules/asteroid/src/core/asteroid-constructor.js
709B
Rebot/node_modules/asteroid/src/core/asteroid-methods.js
5.04KB
Rebot/node_modules/asteroid/src/core/collection.js
7.23KB
Rebot/node_modules/asteroid/src/core/lib/
-
Rebot/node_modules/asteroid/src/core/lib/btoa.js
1.85KB
Rebot/node_modules/asteroid/src/core/lib/clone.js
480B
Rebot/node_modules/asteroid/src/core/lib/emitter.js
843B
Rebot/node_modules/asteroid/src/core/lib/filter.js
1.74KB
Rebot/node_modules/asteroid/src/core/lib/formQs.js
294B
Rebot/node_modules/asteroid/src/core/lib/getOauthState.js
381B
Rebot/node_modules/asteroid/src/core/lib/guid.js
232B
Rebot/node_modules/asteroid/src/core/lib/isEmail.js
137B
Rebot/node_modules/asteroid/src/core/lib/isEqual.js
198B
Rebot/node_modules/asteroid/src/core/lib/multiStorage.js
85B
Rebot/node_modules/asteroid/src/core/lib/must.js
715B
Rebot/node_modules/asteroid/src/core/login.js
4.9KB
Rebot/node_modules/asteroid/src/core/set.js
2.63KB
Rebot/node_modules/asteroid/src/core/subscription.js
2.54KB
Rebot/node_modules/asteroid/src/platforms/
-
Rebot/node_modules/asteroid/src/platforms/browser/
-
Rebot/node_modules/asteroid/src/platforms/browser/login.js
1.15KB
Rebot/node_modules/asteroid/src/platforms/browser/multiStorage.js
484B
Rebot/node_modules/asteroid/src/platforms/browser/setDdpOptions.js
610B
Rebot/node_modules/asteroid/src/platforms/browser/wrapper/
-
Rebot/node_modules/asteroid/src/platforms/browser/wrapper/head.js
415B
Rebot/node_modules/asteroid/src/platforms/browser/wrapper/tail.js
26B
Rebot/node_modules/asteroid/src/platforms/chrome/
-
Rebot/node_modules/asteroid/src/platforms/chrome/login.js
1.58KB
Rebot/node_modules/asteroid/src/platforms/chrome/multiStorage.js
730B
Rebot/node_modules/asteroid/src/platforms/chrome/setDdpOptions.js
265B
Rebot/node_modules/asteroid/src/platforms/chrome/wrapper/
-
Rebot/node_modules/asteroid/src/platforms/chrome/wrapper/head.js
415B
Rebot/node_modules/asteroid/src/platforms/chrome/wrapper/tail.js
26B
Rebot/node_modules/asteroid/src/platforms/cordova/
-
Rebot/node_modules/asteroid/src/platforms/cordova/login.js
2.14KB
Rebot/node_modules/asteroid/src/platforms/cordova/multiStorage.js
484B
Rebot/node_modules/asteroid/src/platforms/cordova/setDdpOptions.js
610B
Rebot/node_modules/asteroid/src/platforms/cordova/wrapper/
-
Rebot/node_modules/asteroid/src/platforms/cordova/wrapper/head.js
415B
Rebot/node_modules/asteroid/src/platforms/cordova/wrapper/tail.js
26B
Rebot/node_modules/asteroid/src/platforms/node/
-
Rebot/node_modules/asteroid/src/platforms/node/login.js
223B
Rebot/node_modules/asteroid/src/platforms/node/multiStorage.js
542B
Rebot/node_modules/asteroid/src/platforms/node/setDdpOptions.js
272B
Rebot/node_modules/asteroid/src/platforms/node/wrapper/
-
Rebot/node_modules/asteroid/src/platforms/node/wrapper/head.js
114B
Rebot/node_modules/asteroid/src/platforms/node/wrapper/tail.js
28B
Rebot/node_modules/asteroid/src/plugins/
-
Rebot/node_modules/asteroid/src/plugins/facebook-login.js
1.29KB
Rebot/node_modules/asteroid/src/plugins/github-login.js
1.28KB
Rebot/node_modules/asteroid/src/plugins/google-login.js
1.32KB
Rebot/node_modules/asteroid/src/plugins/twitter-login.js
1.21KB
Rebot/node_modules/asteroid/test/
-
Rebot/node_modules/asteroid/test/asteroid.unit.js
44.04KB
Rebot/node_modules/asteroid/test/browser.html
1004B
Rebot/node_modules/asteroid/test/node.html
1.15KB
Rebot/node_modules/asteroid/test/unit/
-
Rebot/node_modules/asteroid/test/unit/00.setup.unit.js
368B
Rebot/node_modules/asteroid/test/unit/asteroid.unit.js
6.21KB
Rebot/node_modules/asteroid/test/unit/collection.unit.js
13.33KB
Rebot/node_modules/asteroid/test/unit/filter.unit.js
4.73KB
Rebot/node_modules/asteroid/test/unit/login.unit.js
7.56KB
Rebot/node_modules/asteroid/test/unit/set.unit.js
5.92KB
Rebot/node_modules/asteroid/test/unit/subscription.unit.js
5.92KB
Rebot/node_modules/ddp.js/
-
Rebot/node_modules/ddp.js/.jshintrc
21B
Rebot/node_modules/ddp.js/.npmignore
64B
Rebot/node_modules/ddp.js/.travis.yml
227B
Rebot/node_modules/ddp.js/bower.json
499B
Rebot/node_modules/ddp.js/gulpfile.js
206B
Rebot/node_modules/ddp.js/package.json
1.24KB
Rebot/node_modules/ddp.js/README.md
5KB
Rebot/node_modules/ddp.js/src/
-
Rebot/node_modules/ddp.js/src/ddp.js
8.6KB
Rebot/node_modules/ddp.js/test/
-
Rebot/node_modules/ddp.js/test/ddp.unit.js
29.33KB
Rebot/node_modules/ddp.js/test/karma.conf.js
1.91KB
Rebot/node_modules/ddp.js/test/mocks/
-
Rebot/node_modules/ddp.js/test/mocks/sockjs.js
2.32KB
Rebot/node_modules/ddp.js/test/unit/
-
Rebot/node_modules/ddp.js/test/unit/00.main.unit.js
2.35KB
Rebot/node_modules/ddp.js/test/unit/01.connect.unit.js
2.1KB
Rebot/node_modules/ddp.js/test/unit/02.method.unit.js
1.43KB
Rebot/node_modules/ddp.js/test/unit/03.sub.unit.js
1.5KB
Rebot/node_modules/ddp.js/test/unit/04.unsub.unit.js
404B
Rebot/node_modules/ddp.js/test/unit/05.on.unit.js
408B
Rebot/node_modules/ddp.js/test/unit/06.off.unit.js
522B
Rebot/node_modules/ddp.js/test/unit/07._emit.unit.js
1.01KB
Rebot/node_modules/ddp.js/test/unit/08._send.unit.js
1.55KB
Rebot/node_modules/ddp.js/test/unit/09._try_reconnect.unit.js
1.29KB
Rebot/node_modules/ddp.js/test/unit/10._on_result.unit.js
2.41KB
Rebot/node_modules/ddp.js/test/unit/11._on_updated.unit.js
1.62KB
Rebot/node_modules/ddp.js/test/unit/12._on_nosub.unit.js
2.34KB
Rebot/node_modules/ddp.js/test/unit/13._on_ready.unit.js
1.56KB
Rebot/node_modules/ddp.js/test/unit/14._on_error.unit.js
369B
Rebot/node_modules/ddp.js/test/unit/15._on_connected.unit.js
1.97KB
Rebot/node_modules/ddp.js/test/unit/16._on_failed.unit.js
536B
Rebot/node_modules/ddp.js/test/unit/17._on_added.unit.js
369B
Rebot/node_modules/ddp.js/test/unit/18._on_removed.unit.js
377B
Rebot/node_modules/ddp.js/test/unit/19._on_changed.unit.js
377B
Rebot/node_modules/ddp.js/test/unit/20._on_socket_close.unit.js
1.08KB
Rebot/node_modules/ddp.js/test/unit/21._on_socket_error.unit.js
527B
Rebot/node_modules/ddp.js/test/unit/22._on_socket_open.unit.js
436B
Rebot/node_modules/ddp.js/test/unit/23._on_socket_message.unit.js
2.84KB
Rebot/node_modules/debug/
-
Rebot/node_modules/debug/LICENSE
1.13KB
Rebot/node_modules/debug/package.json
1.44KB
Rebot/node_modules/debug/README.md
22.44KB
Rebot/node_modules/debug/src/
-
Rebot/node_modules/debug/src/browser.js
6.13KB
Rebot/node_modules/debug/src/common.js
6.41KB
Rebot/node_modules/debug/src/index.js
324B
Rebot/node_modules/debug/src/node.js
4.83KB
Rebot/node_modules/faye-websocket/
-
Rebot/node_modules/faye-websocket/CHANGELOG.md
3.55KB
Rebot/node_modules/faye-websocket/lib/
-
Rebot/node_modules/faye-websocket/lib/faye/
-
Rebot/node_modules/faye-websocket/lib/faye/eventsource.js
3.82KB
Rebot/node_modules/faye-websocket/lib/faye/websocket/
-
Rebot/node_modules/faye-websocket/lib/faye/websocket/api/
-
Rebot/node_modules/faye-websocket/lib/faye/websocket/api/event.js
542B
Rebot/node_modules/faye-websocket/lib/faye/websocket/api/event_target.js
669B
Rebot/node_modules/faye-websocket/lib/faye/websocket/api.js
5.48KB
Rebot/node_modules/faye-websocket/lib/faye/websocket/client.js
2.76KB
Rebot/node_modules/faye-websocket/lib/faye/websocket.js
1.33KB
Rebot/node_modules/faye-websocket/LICENSE.md
570B
Rebot/node_modules/faye-websocket/package.json
1.17KB
Rebot/node_modules/faye-websocket/README.md
11.2KB
Rebot/node_modules/follow-redirects/
-
Rebot/node_modules/follow-redirects/debug.js
330B
Rebot/node_modules/follow-redirects/http.js
38B
Rebot/node_modules/follow-redirects/https.js
39B
Rebot/node_modules/follow-redirects/index.js
20.3KB
Rebot/node_modules/follow-redirects/LICENSE
1.13KB
Rebot/node_modules/follow-redirects/package.json
1.31KB
Rebot/node_modules/follow-redirects/README.md
6.46KB
Rebot/node_modules/http-parser-js/
-
Rebot/node_modules/http-parser-js/http-parser.d.ts
4.57KB
Rebot/node_modules/http-parser-js/http-parser.js
13.51KB
Rebot/node_modules/http-parser-js/LICENSE.md
5.17KB
Rebot/node_modules/http-parser-js/package.json
939B
Rebot/node_modules/http-parser-js/README.md
1.85KB
Rebot/node_modules/lru-cache/
-
Rebot/node_modules/lru-cache/index.js
10.9KB
Rebot/node_modules/lru-cache/LICENSE
780B
Rebot/node_modules/lru-cache/package.json
978B
Rebot/node_modules/lru-cache/README.md
5.47KB
Rebot/node_modules/ms/
-
Rebot/node_modules/ms/index.js
3.11KB
Rebot/node_modules/ms/license.md
1.07KB
Rebot/node_modules/ms/package.json
742B
Rebot/node_modules/ms/readme.md
2.05KB
Rebot/node_modules/node-rest-client/
-
Rebot/node_modules/node-rest-client/debug.bat
58B
Rebot/node_modules/node-rest-client/debug.sh
597B
Rebot/node_modules/node-rest-client/lib/
-
Rebot/node_modules/node-rest-client/lib/node-rest-client.js
28.42KB
Rebot/node_modules/node-rest-client/lib/nrc-parser-manager.js
3.98KB
Rebot/node_modules/node-rest-client/lib/nrc-serializer-manager.js
5.17KB
Rebot/node_modules/node-rest-client/LICENSE
1.08KB
Rebot/node_modules/node-rest-client/package.json
608B
Rebot/node_modules/node-rest-client/readme.md
30.05KB
Rebot/node_modules/node-rest-client/test/
-
Rebot/node_modules/node-rest-client/test/mocha.opts
72B
Rebot/node_modules/node-rest-client/test/server/
-
Rebot/node_modules/node-rest-client/test/server/message.json
913B
Rebot/node_modules/node-rest-client/test/server/message.xml
1.52KB
Rebot/node_modules/node-rest-client/test/server/mock-server.js
5.18KB
Rebot/node_modules/node-rest-client/test/specs/
-
Rebot/node_modules/node-rest-client/test/specs/TestErrorHandlers.js
1.1KB
Rebot/node_modules/node-rest-client/test/specs/TestFollowsRedirect.js
1.56KB
Rebot/node_modules/node-rest-client/test/specs/TestGETMethod.js
6.29KB
Rebot/node_modules/node-rest-client/test/specs/TestPOSTMethod.js
7.22KB
Rebot/node_modules/node-rest-client/test/specs/TestRIOFacade.js
9.54KB
Rebot/node_modules/node-rest-client/test/test-proxy.js
2.39KB
Rebot/node_modules/node-rest-client/test.bat
8B
Rebot/node_modules/node-rest-client/test.sh
19B
Rebot/node_modules/pseudomap/
-
Rebot/node_modules/pseudomap/LICENSE
780B
Rebot/node_modules/pseudomap/map.js
289B
Rebot/node_modules/pseudomap/package.json
708B
Rebot/node_modules/pseudomap/pseudomap.js
2.49KB
Rebot/node_modules/pseudomap/README.md
2.17KB
Rebot/node_modules/pseudomap/test/
-
Rebot/node_modules/pseudomap/test/basic.js
1.92KB
Rebot/node_modules/q/
-
Rebot/node_modules/q/CHANGES.md
30.14KB
Rebot/node_modules/q/LICENSE
1.08KB
Rebot/node_modules/q/package.json
1.87KB
Rebot/node_modules/q/q.js
64.54KB
Rebot/node_modules/q/queue.js
976B
Rebot/node_modules/q/README.md
25.64KB
Rebot/node_modules/safe-buffer/
-
Rebot/node_modules/safe-buffer/index.d.ts
8.71KB
Rebot/node_modules/safe-buffer/index.js
1.69KB
Rebot/node_modules/safe-buffer/LICENSE
1.08KB
Rebot/node_modules/safe-buffer/package.json
1.08KB
Rebot/node_modules/safe-buffer/README.md
19.67KB
Rebot/node_modules/sax/
-
Rebot/node_modules/sax/lib/
-
Rebot/node_modules/sax/lib/sax.js
44.38KB
Rebot/node_modules/sax/LICENSE
2.02KB
Rebot/node_modules/sax/package.json
703B
Rebot/node_modules/sax/README.md
8.4KB
Rebot/node_modules/websocket-driver/
-
Rebot/node_modules/websocket-driver/CHANGELOG.md
4.17KB
Rebot/node_modules/websocket-driver/lib/
-
Rebot/node_modules/websocket-driver/lib/websocket/
-
Rebot/node_modules/websocket-driver/lib/websocket/driver/
-
Rebot/node_modules/websocket-driver/lib/websocket/driver/base.js
4.73KB
Rebot/node_modules/websocket-driver/lib/websocket/driver/client.js
4.36KB
Rebot/node_modules/websocket-driver/lib/websocket/driver/draft75.js
3.15KB
Rebot/node_modules/websocket-driver/lib/websocket/driver/draft76.js
3.23KB
Rebot/node_modules/websocket-driver/lib/websocket/driver/headers.js
850B
Rebot/node_modules/websocket-driver/lib/websocket/driver/hybi/
-
Rebot/node_modules/websocket-driver/lib/websocket/driver/hybi/frame.js
394B
Rebot/node_modules/websocket-driver/lib/websocket/driver/hybi/message.js
771B
Rebot/node_modules/websocket-driver/lib/websocket/driver/hybi.js
14.57KB
Rebot/node_modules/websocket-driver/lib/websocket/driver/proxy.js
2.7KB
Rebot/node_modules/websocket-driver/lib/websocket/driver/server.js
3.3KB
Rebot/node_modules/websocket-driver/lib/websocket/driver/stream_reader.js
1.64KB
Rebot/node_modules/websocket-driver/lib/websocket/driver.js
1.12KB
Rebot/node_modules/websocket-driver/lib/websocket/http_parser.js
3.34KB
Rebot/node_modules/websocket-driver/lib/websocket/streams.js
4.93KB
Rebot/node_modules/websocket-driver/LICENSE.md
570B
Rebot/node_modules/websocket-driver/package.json
1.21KB
Rebot/node_modules/websocket-driver/README.md
13.14KB
Rebot/node_modules/websocket-extensions/
-
Rebot/node_modules/websocket-extensions/CHANGELOG.md
919B
Rebot/node_modules/websocket-extensions/lib/
-
Rebot/node_modules/websocket-extensions/lib/parser.js
2.98KB
Rebot/node_modules/websocket-extensions/lib/pipeline/
-
Rebot/node_modules/websocket-extensions/lib/pipeline/cell.js
1.49KB
Rebot/node_modules/websocket-extensions/lib/pipeline/functor.js
1.56KB
Rebot/node_modules/websocket-extensions/lib/pipeline/index.js
1.49KB
Rebot/node_modules/websocket-extensions/lib/pipeline/pledge.js
816B
Rebot/node_modules/websocket-extensions/lib/pipeline/README.md
24.72KB
Rebot/node_modules/websocket-extensions/lib/pipeline/ring_buffer.js
1.7KB
Rebot/node_modules/websocket-extensions/lib/websocket_extensions.js
4.91KB
Rebot/node_modules/websocket-extensions/LICENSE.md
570B
Rebot/node_modules/websocket-extensions/package.json
1020B
Rebot/node_modules/websocket-extensions/README.md
13.17KB
Rebot/node_modules/xml2js/
-
Rebot/node_modules/xml2js/lib/
-
Rebot/node_modules/xml2js/lib/bom.js
235B
Rebot/node_modules/xml2js/lib/builder.js
4.39KB
Rebot/node_modules/xml2js/lib/defaults.js
1.69KB
Rebot/node_modules/xml2js/lib/parser.js
13.52KB
Rebot/node_modules/xml2js/lib/processors.js
760B
Rebot/node_modules/xml2js/lib/xml2js.bc.js
3.26MB
Rebot/node_modules/xml2js/lib/xml2js.js
1.08KB
Rebot/node_modules/xml2js/LICENSE
1.07KB
Rebot/node_modules/xml2js/package.json
3.8KB
Rebot/node_modules/xml2js/README.md
18.39KB
Rebot/node_modules/xmlbuilder/
-
Rebot/node_modules/xmlbuilder/appveyor.yml
370B
Rebot/node_modules/xmlbuilder/CHANGELOG.md
23.71KB
Rebot/node_modules/xmlbuilder/lib/
-
Rebot/node_modules/xmlbuilder/lib/Derivation.js
166B
Rebot/node_modules/xmlbuilder/lib/DocumentPosition.js
230B
Rebot/node_modules/xmlbuilder/lib/index.js
1.81KB
Rebot/node_modules/xmlbuilder/lib/NodeType.js
472B
Rebot/node_modules/xmlbuilder/lib/OperationType.js
182B
Rebot/node_modules/xmlbuilder/lib/Utility.js
2.18KB
Rebot/node_modules/xmlbuilder/lib/WriterState.js
165B
Rebot/node_modules/xmlbuilder/lib/XMLAttribute.js
2.72KB
Rebot/node_modules/xmlbuilder/lib/XMLCData.js
1.22KB
Rebot/node_modules/xmlbuilder/lib/XMLCharacterData.js
2.5KB
Rebot/node_modules/xmlbuilder/lib/XMLComment.js
1.24KB
Rebot/node_modules/xmlbuilder/lib/XMLDeclaration.js
1.52KB
Rebot/node_modules/xmlbuilder/lib/XMLDocType.js
5.66KB
Rebot/node_modules/xmlbuilder/lib/XMLDocument.js
7.95KB
Rebot/node_modules/xmlbuilder/lib/XMLDocumentCB.js
17.65KB
Rebot/node_modules/xmlbuilder/lib/XMLDocumentFragment.js
884B
Rebot/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js
1.81KB
Rebot/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js
344B
Rebot/node_modules/xmlbuilder/lib/XMLDOMImplementation.js
1003B
Rebot/node_modules/xmlbuilder/lib/XMLDOMStringList.js
631B
Rebot/node_modules/xmlbuilder/lib/XMLDTDAttList.js
2.4KB
Rebot/node_modules/xmlbuilder/lib/XMLDTDElement.js
1.33KB
Rebot/node_modules/xmlbuilder/lib/XMLDTDEntity.js
3.12KB
Rebot/node_modules/xmlbuilder/lib/XMLDTDNotation.js
1.78KB
Rebot/node_modules/xmlbuilder/lib/XMLDummy.js
947B
Rebot/node_modules/xmlbuilder/lib/XMLElement.js
9.61KB
Rebot/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js
1.58KB
Rebot/node_modules/xmlbuilder/lib/XMLNode.js
24.36KB
Rebot/node_modules/xmlbuilder/lib/XMLNodeFilter.js
1.17KB
Rebot/node_modules/xmlbuilder/lib/XMLNodeList.js
588B
Rebot/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js
1.78KB
Rebot/node_modules/xmlbuilder/lib/XMLRaw.js
1.13KB
Rebot/node_modules/xmlbuilder/lib/XMLStreamWriter.js
7.33KB
Rebot/node_modules/xmlbuilder/lib/XMLStringifier.js
7.33KB
Rebot/node_modules/xmlbuilder/lib/XMLStringWriter.js
1.23KB
Rebot/node_modules/xmlbuilder/lib/XMLText.js
2.18KB
Rebot/node_modules/xmlbuilder/lib/XMLTypeInfo.js
545B
Rebot/node_modules/xmlbuilder/lib/XMLUserDataHandler.js
391B
Rebot/node_modules/xmlbuilder/lib/XMLWriterBase.js
15.65KB
Rebot/node_modules/xmlbuilder/LICENSE
1.08KB
Rebot/node_modules/xmlbuilder/package.json
966B
Rebot/node_modules/xmlbuilder/README.md
2.46KB
Rebot/node_modules/xmlbuilder/typings/
-
Rebot/node_modules/xmlbuilder/typings/index.d.ts
6.06KB
Rebot/node_modules/yallist/
-
Rebot/node_modules/yallist/iterator.js
190B
Rebot/node_modules/yallist/LICENSE
780B
Rebot/node_modules/yallist/package.json
681B
Rebot/node_modules/yallist/README.md
4.81KB
Rebot/node_modules/yallist/yallist.js
7.47KB
Rebot/package-lock.json
7.87KB
Rebot/package.json
68B
Rebot/README.md
198B
Rebot/run.ps1
43B
Rebot/SAP/
-
Rebot/SAP/Database.cs
476B
Rebot/SAP/MO.csproj
573B
Rebot/SAP/MO.sln
1.08KB
Rebot/SAP/Program.cs
2.88KB

资源内容介绍

使用Rocket 创建一个机器人自动王频道里面发送信息,基础版。发送消息需要配合下载node.js使用,以及自己使用的编程语言环境。https://developer.rocket.chat/docs/creating-your-own-bot-from-scratch
# REST Client for Node.js[![npm version](https://badge.fury.io/js/node-rest-client.svg)](https://www.npmjs.com/package/node-rest-client)[![Build Status](https://travis-ci.org/olalonde/node-rest-client.svg?branch=master)](https://travis-ci.org/olalonde/node-rest-client)[![NPM](https://nodei.co/npm/node-rest-client.png?downloads=true)](https://nodei.co/npm/node-rest-client.png?downloads=true)## FeaturesAllows connecting to any API REST and get results as js Object. The client has the following features:- Transparent HTTP/HTTPS connection to remote API sites.- Allows simple HTTP basic authentication.- Allows most common HTTP operations: GET, POST, PUT, DELETE, PATCH or any other method through custom connect method- Allows creation of custom HTTP Methods (PURGE, etc.)- Direct or through proxy connection to remote API sites.- Register remote API operations as own client methods, simplifying reuse.- Dynamic path and query parameters and request headers.- Improved Error handling mechanism (client or specific request)- Added support for compressed responses: gzip and deflate- Added support for follow redirects thanks to great [follow-redirects](https://www.npmjs.com/package/follow-redirects) package- Added support for custom request serializers (json,xml and url-encoded included by default)- Added support for custom response parsers (json and xml included by default)## Installation$ npm install node-rest-client## Usages### Simple HTTP GETClient has two ways to call a REST service: direct or using registered methods```javascriptvar Client = require('node-rest-client').Client;var client = new Client();// direct wayclient.get("http://remote.site/rest/xml/method", function (data, response) {// parsed response body as js objectconsole.log(data);// raw responseconsole.log(response);});// registering remote methodsclient.registerMethod("jsonMethod", "http://remote.site/rest/json/method", "GET");client.methods.jsonMethod(function (data, response) {// parsed response body as js objectconsole.log(data);// raw responseconsole.log(response);});```### HTTP POST POST, PUT or PATCH method invocation are configured like GET calls with the difference that you have to set "Content-Type" header in args passed to client method invocation:```javascript//Example POST method invocationvar Client = require('node-rest-client').Client;var client = new Client();// set content-type header and data as json in args parametervar args = {data: { test: "hello" },headers: { "Content-Type": "application/json" }};client.post("http://remote.site/rest/xml/method", args, function (data, response) {// parsed response body as js objectconsole.log(data);// raw responseconsole.log(response);});// registering remote methodsclient.registerMethod("postMethod", "http://remote.site/rest/json/method", "POST");client.methods.postMethod(args, function (data, response) {// parsed response body as js objectconsole.log(data);// raw responseconsole.log(response);});```If no "Content-Type" header is set as client arg POST,PUT and PATCH methods will not work properly.### Passing args to registered methodsYou can pass diferents args to registered methods, simplifying reuse: path replace parameters, query parameters, custom headers ```javascriptvar Client = require('node-rest-client').Client;// direct wayvar client = new Client();var args = {data: { test: "hello" }, // data passed to REST method (only useful in POST, PUT or PATCH methods)path: { "id": 120 }, // path substitution varparameters: { arg1: "hello", arg2: "world" }, // this is serialized as URL parametersheaders: { "test-header": "client-api" } // request headers};client.get("http://remote.site/rest/json/${id}/method", args,function (data, response) {// parsed response body as js objectconsole.log(data);// raw responseconsole.log(response);});// registering remote methodsclient.registerMethod("jsonMethod", "http://remote.site/rest/json/${id}/method", "GET");/* this would construct the following URL before invocation * * http://remote.site/rest/json/120/method?arg1=hello&arg2=world * */client.methods.jsonMethod(args, function (data, response) {// parsed response body as js objectconsole.log(data);// raw responseconsole.log(response);});```You can even use path placeholders in query string in direct connection:```javascriptvar Client = require('node-rest-client').Client;// direct wayvar client = new Client();var args = {path: { "id": 120, "arg1": "hello", "arg2": "world" },headers: { "test-header": "client-api" }};client.get("http://remote.site/rest/json/${id}/method?arg1=${arg1}&arg2=${arg2}", args,function (data, response) {// parsed response body as js objectconsole.log(data);// raw responseconsole.log(response);});```### HTTP POST and PUT methodsTo send data to remote site using POST or PUT methods, just add a data attribute to args object:```javascriptvar Client = require('node-rest-client').Client;// direct wayvar client = new Client();var args = {path: { "id": 120 },parameters: { arg1: "hello", arg2: "world" },headers: { "test-header": "client-api" },data: "<xml><arg1>hello</arg1><arg2>world</arg2></xml>"};client.post("http://remote.site/rest/xml/${id}/method", args, function (data, response) {// parsed response body as js objectconsole.log(data);// raw responseconsole.log(response);});// registering remote methodsclient.registerMethod("xmlMethod", "http://remote.site/rest/xml/${id}/method", "POST");client.methods.xmlMethod(args, function (data, response) {// parsed response body as js objectconsole.log(data);// raw responseconsole.log(response);});// posted data can be js objectvar args_js = {path: { "id": 120 },parameters: { arg1: "hello", arg2: "world" },headers: { "test-header": "client-api" },data: { "arg1": "hello", "arg2": 123 }};client.methods.xmlMethod(args_js, function (data, response) {// parsed response body as js objectconsole.log(data);// raw responseconsole.log(response);});```### Request/Response configurationIt's also possible to configure each request and response, passing its configuration as anadditional argument in method call.```javascriptvar client = new Client();// request and response additional configurationvar args = {path: { "id": 120 },parameters: { arg1: "hello", arg2: "world" },headers: { "test-header": "client-api" },data: "<xml><arg1>hello</arg1><arg2>world</arg2></xml>",requestConfig: {timeout: 1000, //request timeout in millisecondsnoDelay: true, //Enable/disable the Nagle algorithmkeepAlive: true, //Enable/disable keep-alive functionalityidle socket.keepAliveDelay: 1000 //and optionally set the initial delay before the first keepalive probe is sent},responseConfig: {timeout: 1000 //response timeout}};client.post("http://remote.site/rest/xml/${id}/method", args, function (data, response) {// parsed response body as js objectconsole.log(data);// raw responseconsole.log(response);});```If you want to handle timeout events both in the request and in the response just add a new "requestTimeout"or "responseTimeout" event handler to clientRequest returned by method call.```javascriptvar client = new Client();// request and response additional configurationvar args = {path: { "id": 120 },parameters: { arg1: "hello", arg2: "world" },headers: { "test-header": "client-api" },data: "<xml><arg1>hello</arg1><arg2>world</arg2></xml>",requestConfig: {timeout: 1000, //request timeout in millisecondsnoDelay: true, //Enable/

用户评论 (0)

发表评论

captcha