public static void Security(this ProtoServer server, Action <SecurityOptions> configureSecurity) { var so = new ProtoSecurityOptions(server); configureSecurity(so); //register is done inside of PSO }
public static void Security(this ProtoServer server, Action<SecurityOptions> configureSecurity) { var so = new ProtoSecurityOptions(server); configureSecurity(so); //register is done inside of PSO }