コード例 #1
0
 /// <summary>
 /// 更改ocelot的存储方式为使用redis
 /// </summary>
 /// <param name="ocelotBuilder"></param>
 /// <returns></returns>
 public static IOcelotBuilder AddRedisCache(this IOcelotBuilder ocelotBuilder)
 {
     return(ocelotBuilder.AddRedisCache((option) => { }));
 }