Nitric logo

Topics

topic()

Creates a new Topic.

using Nitric.Sdk;

var updates = Nitric.Topic("updates");

Nitric.Run();

Parameters


name required string

The name of the topic to create.

Examples

Create a new topic

using Nitric.Sdk;

var updates = Nitric.Topic("updates");

Nitric.Run();

See also

Previous
api.route.patch()