addHub
Method
interface AzureWebPubSubResource { // ... omitted for brevity addHub( name: string, hubName?: string): AzureWebPubSubHubResource;}Signature
method
addHubbuilderAdds an Azure Web Pub Sub hub resource to the application model.
addHub( name: string, hubName?: string): AzureWebPubSubHubResourceParameters
namestringhubNamestringoptionalReturns
AzureWebPubSubHubResourceApplies to
This method applies to the following types: