JekyllServeSettingsExtensions.

SetPort(JekyllServeSettings, Nullable<int>) Method

Summary

Sets the local server port to listen on.

Syntax

public static JekyllServeSettings SetPort(this JekyllServeSettings settings, Nullable<int> port)

Parameters

Name Type Description
settings JekyllServeSettings The settings.
port Nullable<int> The local server port to listen on.

Return Value

Type Description
JekyllServeSettings The settings instance with updated with the port provided.