Skip to content

Commit

Permalink
Mark HubClient as isolated
Browse files Browse the repository at this point in the history
  • Loading branch information
ayeshLK committed Nov 22, 2024
1 parent 8f83014 commit d22c888
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions ballerina/hub_client.bal
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ import ballerina/mime;
import ballerina/crypto;

# HTTP Based client for WebSub content publishing to subscribers
public client class HubClient {
private string callback;
private string hub;
private string topic;
private string hubLinks;
private string? secret;
private http:Client httpClient;
public isolated client class HubClient {
private final string callback;
private final string hub;
private final string topic;
private final string hubLinks;
private final string? secret;
private final http:Client httpClient;

# Initializes the `websubhub:HubClient`.
# ```ballerina
Expand Down

0 comments on commit d22c888

Please sign in to comment.