Skip to content

Commit d668da6

Browse files
Fixed headings
1 parent 1949b1f commit d668da6

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[![Build Status](https://travis-ci.org/socketio/socket.io-client-swift.svg?branch=master)](https://travis-ci.org/socketio/socket.io-client-swift)
22

3-
#Socket.IO-Client-Swift
3+
# Socket.IO-Client-Swift
44
Socket.IO-client for iOS/OS X.
55

6-
##Example
6+
## Example
77
```swift
88
import SocketIO
99

@@ -26,7 +26,7 @@ socket.on("currentAmount") {data, ack in
2626
socket.connect()
2727
```
2828

29-
##Objective-C Example
29+
## Objective-C Example
3030
```objective-c
3131
@import SocketIO;
3232
NSURL* url = [[NSURL alloc] initWithString:@"http://localhost:8080"];
@@ -50,14 +50,14 @@ SocketIOClient* socket = [[SocketIOClient alloc] initWithSocketURL:url config:@{
5050

5151
```
5252
53-
##Features
53+
## Features
5454
- Supports socket.io 1.0+
5555
- Supports binary
5656
- Supports Polling and WebSockets
5757
- Supports TLS/SSL
5858
- Can be used from Objective-C
5959
60-
##Installation
60+
## Installation
6161
Requires Swift 3/Xcode 8.x
6262
6363
If you need swift 2.3 use the swift2.3 tag (Pre-Swift 3 support is no longer maintained)
@@ -143,7 +143,7 @@ github "socketio/socket.io-client-swift", "v8.3.3", :files => "Source/*.swift" #
143143
Run `seed install`.
144144

145145

146-
##API
146+
# API
147147
Constructors
148148
-----------
149149
`init(var socketURL: NSURL, config: SocketIOClientConfiguration = [])` - Creates a new SocketIOClient. If your socket.io server is secure, you need to specify `https` in your socketURL.
@@ -203,10 +203,10 @@ Client Events
203203
4. `reconnect` - Emitted when the connection is starting to reconnect.
204204
5. `reconnectAttempt` - Emitted when attempting to reconnect.
205205

206-
##Detailed Example
206+
## Detailed Example
207207
A more detailed example can be found [here](https://github.com/nuclearace/socket.io-client-swift-example)
208208

209209
An example using the Swift Package Manager can be found [here](https://github.com/nuclearace/socket.io-client-swift-spm-example)
210210

211-
##License
211+
## License
212212
MIT

0 commit comments

Comments
 (0)