Skip to content

Commit d22c888

Browse files
committed
Mark HubClient as isolated
1 parent 8f83014 commit d22c888

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Diff for: ballerina/hub_client.bal

+7-7
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ import ballerina/mime;
1919
import ballerina/crypto;
2020

2121
# HTTP Based client for WebSub content publishing to subscribers
22-
public client class HubClient {
23-
private string callback;
24-
private string hub;
25-
private string topic;
26-
private string hubLinks;
27-
private string? secret;
28-
private http:Client httpClient;
22+
public isolated client class HubClient {
23+
private final string callback;
24+
private final string hub;
25+
private final string topic;
26+
private final string hubLinks;
27+
private final string? secret;
28+
private final http:Client httpClient;
2929

3030
# Initializes the `websubhub:HubClient`.
3131
# ```ballerina

0 commit comments

Comments
 (0)