-
Notifications
You must be signed in to change notification settings - Fork 571
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update GitHub issue templates
- Loading branch information
1 parent
cec2750
commit fffa0a3
Showing
4 changed files
with
91 additions
and
25 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: 'bug' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
|
||
Please fill the following code example: | ||
|
||
Engine.IO server version: `x.y.z` | ||
|
||
*Server* | ||
|
||
```js | ||
const engine = require("engine.io"); | ||
const server = engine.listen(3000, {}); | ||
|
||
server.on("connection", (socket) => { | ||
console.log("connection"); | ||
|
||
socket.on("message", (data) => { | ||
console.log("data", data); | ||
}); | ||
|
||
socket.on("close", () => { | ||
console.log("close"); | ||
}); | ||
}); | ||
``` | ||
|
||
Engine.IO client version: `x.y.z` | ||
|
||
*Client* | ||
|
||
```js | ||
const socket = require("engine.io-client")("ws://localhost:3000"); | ||
|
||
socket.on("open", () => { | ||
console.log("open"); | ||
|
||
socket.on("message", (data) => { | ||
console.log("data", data); | ||
}); | ||
|
||
socket.on("close", () => { | ||
console.log("close"); | ||
}); | ||
}); | ||
``` | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Platform:** | ||
- Device: [e.g. Samsung S8] | ||
- OS: [e.g. Android 9.2] | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Ask a Question | ||
url: https://github.com/socketio/socket.io/discussions/new?category=q-a | ||
about: Ask the community for help |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: 'enhancement' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |