Skip to content

Commit 2b756ba

Browse files
committed
Merge branch 'release/v1.09'
2 parents 8972224 + 1c727d7 commit 2b756ba

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ Working .net core SignalR server.
1414
### Installing
1515

1616
```
17-
implementation 'com.smartarmenia:dotnetcoresignalrclientjava:1.08'
17+
implementation 'com.smartarmenia:dotnetcoresignalrclientjava:1.09'
1818
```
1919
or (for Android Studio 2.x)
2020
```
21-
compile 'com.smartarmenia:dotnetcoresignalrclientjava:1.08'
21+
compile 'com.smartarmenia:dotnetcoresignalrclientjava:1.09'
2222
```
2323

2424
#### Kotlin example
@@ -27,9 +27,9 @@ private val connection: HubConnection = WebSocketHubConnection("http(https)://hu
2727
```
2828

2929
```
30-
connection.connect()
3130
connection.addListener(listener)
3231
connection.subscribeToEvent(event, listener)
32+
connection.connect()
3333
```
3434

3535
Invoke method
@@ -45,9 +45,9 @@ final HubConnection connection = new WebSocketHubConnection("http(https)://hubad
4545
```
4646

4747
```
48-
connection.connect();
4948
connection.addListener(listener);
5049
connection.subscribeToEvent(event, listener);
50+
connection.connect();
5151
```
5252

5353
Invoke method

dotnetcoresignalrclientjava/bintray.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apply plugin: 'com.jfrog.bintray'
22

3-
version = '1.08'
3+
version = '1.09'
44

55
task sourcesJar(type: Jar) {
66
from android.sourceSets.main.java.srcDirs

dotnetcoresignalrclientjava/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ android {
88
defaultConfig {
99
minSdkVersion 16
1010
targetSdkVersion 26
11-
versionCode 9
12-
versionName "1.08"
11+
versionCode 10
12+
versionName "1.09"
1313
}
1414

1515
buildTypes {

dotnetcoresignalrclientjava/src/main/java/com/smartarmenia/dotnetcoresignalrclientjava/WebSocketHubConnection.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ private void getConnectionId() {
103103
throw runtimeException;
104104
}
105105
} catch (Exception e) {
106-
e.printStackTrace();
106+
error(e);
107107
}
108108
}
109109

@@ -119,7 +119,7 @@ private void connectClient() {
119119
try {
120120
client = new WebSocketClient(new URI(uri.toString()), new Draft_6455(), headers, 15000) {
121121
@Override
122-
public void onOpen(ServerHandshake handshakedata) {
122+
public void onOpen(ServerHandshake handshakeData) {
123123
Log.i(TAG, "Opened");
124124
for (HubConnectionListener listener : listeners) {
125125
listener.onConnected();

0 commit comments

Comments
 (0)