Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node_faye
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
ikcrm_common
node_faye
Commits
1cdc2070
Commit
1cdc2070
authored
Oct 11, 2017
by
guxiaobai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix default port
parent
075bf899
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
README.md
+2
-2
No files found.
README.md
View file @
1cdc2070
...
...
@@ -10,7 +10,7 @@
git clone ssh://gitlab@gitlab.ikcrm.com:40022/ikcrm_common/node_faye.git
yarn install (或者: npm install)
node faye.js
curl localhost:99
9
1/faye/client.js
curl localhost:99
0
1/faye/client.js
== Deploy
...
...
@@ -35,7 +35,7 @@
== Test Faye Connection
curl http://localhost:99
9
1/faye -d 'message={
[
channel
](
"/messages/new",
)
[
data
]
("hello")}'
curl http://localhost:99
0
1/faye -d 'message={
[
channel
](
"/messages/new",
)
[
data
]
("hello")}'
var client = new Faye.Client('http://localhost:9991/faye');
client.subscribe('/messages', function(message) {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment