Commit e0810eed authored by Nick's avatar Nick Committed by Nick Craver

http -> https for links in codebase. (#735)

Except for redisearch.io and www.ideawu.com, because they don't have an https endpoint atm.
parent 8c94c7b4
......@@ -8,7 +8,7 @@
namespace StackExchange.Redis.Tests.Booksleeve
{
public class Hashes : BookSleeveTestBase // http://redis.io/commands#hash
public class Hashes : BookSleeveTestBase // https://redis.io/commands#hash
{
public Hashes(ITestOutputHelper output) : base(output) { }
......@@ -166,7 +166,7 @@ public void TestGet()
}
[Fact]
public void TestSet() // http://redis.io/commands/hset
public void TestSet() // https://redis.io/commands/hset
{
using (var muxer = GetUnsecuredConnection())
{
......@@ -204,7 +204,7 @@ public void TestGet()
}
[Fact]
public void TestSetNotExists() // http://redis.io/commands/hsetnx
public void TestSetNotExists() // https://redis.io/commands/hsetnx
{
using (var muxer = GetUnsecuredConnection())
{
......@@ -234,7 +234,7 @@ public void TestGet()
}
[Fact]
public void TestDelSingle() // http://redis.io/commands/hdel
public void TestDelSingle() // https://redis.io/commands/hdel
{
using (var muxer = GetUnsecuredConnection())
{
......@@ -254,7 +254,7 @@ public void TestGet()
}
[Fact]
public void TestDelMulti() // http://redis.io/commands/hdel
public void TestDelMulti() // https://redis.io/commands/hdel
{
using (var muxer = GetUnsecuredConnection())
{
......@@ -291,7 +291,7 @@ public void TestGet()
}
[Fact]
public void TestDelMultiInsideTransaction() // http://redis.io/commands/hdel
public void TestDelMultiInsideTransaction() // https://redis.io/commands/hdel
{
using (var outer = GetUnsecuredConnection())
{
......@@ -327,7 +327,7 @@ public void TestGet()
}
[Fact]
public void TestExists() // http://redis.io/commands/hexists
public void TestExists() // https://redis.io/commands/hexists
{
using (var muxer = GetUnsecuredConnection())
{
......@@ -346,7 +346,7 @@ public void TestGet()
}
[Fact]
public void TestHashKeys() // http://redis.io/commands/hkeys
public void TestHashKeys() // https://redis.io/commands/hkeys
{
using (var muxer = GetUnsecuredConnection())
{
......@@ -370,7 +370,7 @@ public void TestGet()
}
[Fact]
public void TestHashValues() // http://redis.io/commands/hvals
public void TestHashValues() // https://redis.io/commands/hvals
{
using (var muxer = GetUnsecuredConnection())
{
......@@ -394,7 +394,7 @@ public void TestGet()
}
[Fact]
public void TestHashLength() // http://redis.io/commands/hlen
public void TestHashLength() // https://redis.io/commands/hlen
{
using (var muxer = GetUnsecuredConnection())
{
......@@ -414,7 +414,7 @@ public void TestGet()
}
[Fact]
public void TestGetMulti() // http://redis.io/commands/hmget
public void TestGetMulti() // https://redis.io/commands/hmget
{
using (var muxer = GetUnsecuredConnection())
{
......@@ -453,7 +453,7 @@ public void TestGet()
}
[Fact]
public void TestGetPairs() // http://redis.io/commands/hgetall
public void TestGetPairs() // https://redis.io/commands/hgetall
{
using (var muxer = GetUnsecuredConnection())
{
......@@ -476,7 +476,7 @@ public void TestGet()
}
[Fact]
public void TestSetPairs() // http://redis.io/commands/hmset
public void TestSetPairs() // https://redis.io/commands/hmset
{
using (var muxer = GetUnsecuredConnection())
{
......
......@@ -9,7 +9,7 @@
namespace StackExchange.Redis.Tests.Booksleeve
{
public class PubSub : BookSleeveTestBase // http://redis.io/commands#pubsub
public class PubSub : BookSleeveTestBase // https://redis.io/commands#pubsub
{
public PubSub(ITestOutputHelper output) : base(output) { }
......
......@@ -5,7 +5,7 @@
namespace StackExchange.Redis.Tests.Booksleeve
{
public class Strings : BookSleeveTestBase // http://redis.io/commands#string
public class Strings : BookSleeveTestBase // https://redis.io/commands#string
{
public Strings(ITestOutputHelper output) : base(output) { }
......
namespace StackExchange.Redis
{
/// <summary>
/// <a href="http://en.wikipedia.org/wiki/Bitwise_operation">Bitwise operators</a>
/// <a href="https://en.wikipedia.org/wiki/Bitwise_operation">Bitwise operators</a>
/// </summary>
public enum Bitwise
{
/// <summary>
/// <a href="http://en.wikipedia.org/wiki/Bitwise_operation#AND">And</a>
/// <a href="https://en.wikipedia.org/wiki/Bitwise_operation#AND">And</a>
/// </summary>
And,
/// <summary>
/// <a href="http://en.wikipedia.org/wiki/Bitwise_operation#OR">Or</a>
/// <a href="https://en.wikipedia.org/wiki/Bitwise_operation#OR">Or</a>
/// </summary>
Or,
/// <summary>
/// <a href="http://en.wikipedia.org/wiki/Bitwise_operation#XOR">Xor</a>
/// <a href="https://en.wikipedia.org/wiki/Bitwise_operation#XOR">Xor</a>
/// </summary>
Xor,
/// <summary>
/// <a href="http://en.wikipedia.org/wiki/Bitwise_operation#NOT">Not</a>
/// <a href="https://en.wikipedia.org/wiki/Bitwise_operation#NOT">Not</a>
/// </summary>
Not
}
......
......@@ -302,7 +302,7 @@ public sealed class ClusterNode : IEquatable<ClusterNode>, IComparable<ClusterN
internal ClusterNode() { }
internal ClusterNode(ClusterConfiguration configuration, string raw, EndPoint origin)
{
// http://redis.io/commands/cluster-nodes
// https://redis.io/commands/cluster-nodes
this.configuration = configuration;
this.Raw = raw;
var parts = raw.Split(StringSplits.Space);
......
......@@ -68,11 +68,11 @@ internal CommandMap(byte[][] map)
}, true);
/// <summary>
/// The commands available to <a href="Sentinel">http://redis.io/topics/sentinel</a>
/// The commands available to <a href="Sentinel">https://redis.io/topics/sentinel</a>
/// </summary>
/// <remarks>http://redis.io/topics/sentinel</remarks>
/// <remarks>https://redis.io/topics/sentinel</remarks>
public static CommandMap Sentinel { get; } = Create(new HashSet<string> {
// see http://redis.io/topics/sentinel
// see https://redis.io/topics/sentinel
"ping", "info", "sentinel", "subscribe", "psubscribe", "unsubscribe", "punsubscribe" }, true);
/// <summary>
......
......@@ -48,7 +48,7 @@ public string GetHelpUrl()
{
if (Arguments == null || Arguments.Length == 0) return null;
const string BaseUrl = "http://redis.io/commands/";
const string BaseUrl = "https://redis.io/commands/";
string encoded0 = Uri.EscapeUriString(((string)Arguments[0]).ToLowerInvariant());
......
......@@ -48,7 +48,7 @@ public static ConfiguredTaskAwaitable<T> ForAwait<T>(this Task<T> task)
/// </summary>
public sealed partial class ConnectionMultiplexer : IConnectionMultiplexer, IDisposable
{
private static readonly string timeoutHelpLink = "http://stackexchange.github.io/StackExchange.Redis/Timeouts";
private static readonly string timeoutHelpLink = "https://stackexchange.github.io/StackExchange.Redis/Timeouts";
private static TaskFactory _factory = null;
......
......@@ -25,14 +25,14 @@ public partial interface IServer
/// Get the value of key. If the key does not exist the special value nil is returned. An error is returned if the value stored at key is not a string, because GET only handles string values.
/// </summary>
/// <returns>the value of key, or nil when key does not exist.</returns>
/// <remarks>http://redis.io/commands/get</remarks>
/// <remarks>https://redis.io/commands/get</remarks>
RedisValue StringGet(int db, RedisKey key, CommandFlags flags = CommandFlags.None);
/// <summary>
/// Get the value of key. If the key does not exist the special value nil is returned. An error is returned if the value stored at key is not a string, because GET only handles string values.
/// </summary>
/// <returns>the value of key, or nil when key does not exist.</returns>
/// <remarks>http://redis.io/commands/get</remarks>
/// <remarks>https://redis.io/commands/get</remarks>
Task<RedisValue> StringGetAsync(int db, RedisKey key, CommandFlags flags = CommandFlags.None);
/// <summary>
......@@ -43,13 +43,13 @@ public partial interface IServer
/// <summary>
/// DEBUG SEGFAULT performs an invalid memory access that crashes Redis. It is used to simulate bugs during the development.
/// </summary>
/// <remarks>http://redis.io/commands/debug-segfault</remarks>
/// <remarks>https://redis.io/commands/debug-segfault</remarks>
void Crash();
/// <summary>
/// CLIENT PAUSE is a connections control command able to suspend all the Redis clients for the specified amount of time (in milliseconds).
/// </summary>
/// <remarks>http://redis.io/commands/client-pause</remarks>
/// <remarks>https://redis.io/commands/client-pause</remarks>
void Hang(TimeSpan duration, CommandFlags flags = CommandFlags.None);
}
......@@ -58,14 +58,14 @@ public partial interface IRedis
/// <summary>
/// The CLIENT GETNAME returns the name of the current connection as set by CLIENT SETNAME. Since every new connection starts without an associated name, if no name was assigned a null string is returned.
/// </summary>
/// <remarks>http://redis.io/commands/client-getname</remarks>
/// <remarks>https://redis.io/commands/client-getname</remarks>
/// <returns>The connection name, or a null string if no name is set.</returns>
string ClientGetName(CommandFlags flags = CommandFlags.None);
/// <summary>
/// Ask the server to close the connection. The connection is closed as soon as all pending replies have been written to the client.
/// </summary>
/// <remarks>http://redis.io/commands/quit</remarks>
/// <remarks>https://redis.io/commands/quit</remarks>
void Quit(CommandFlags flags = CommandFlags.None);
}
......@@ -74,7 +74,7 @@ public partial interface IRedisAsync
/// <summary>
/// The CLIENT GETNAME returns the name of the current connection as set by CLIENT SETNAME. Since every new connection starts without an associated name, if no name was assigned a null string is returned.
/// </summary>
/// <remarks>http://redis.io/commands/client-getname</remarks>
/// <remarks>https://redis.io/commands/client-getname</remarks>
/// <returns>The connection name, or a null string if no name is set.</returns>
Task<string> ClientGetNameAsync(CommandFlags flags = CommandFlags.None);
}
......
......@@ -12,7 +12,7 @@ public partial interface IRedis : IRedisAsync
/// This command is often used to test if a connection is still alive, or to measure latency.
/// </summary>
/// <returns>The observed latency.</returns>
/// <remarks>http://redis.io/commands/ping</remarks>
/// <remarks>https://redis.io/commands/ping</remarks>
TimeSpan Ping(CommandFlags flags = CommandFlags.None);
}
......
......@@ -17,7 +17,7 @@ public partial interface IRedisAsync
/// This command is often used to test if a connection is still alive, or to measure latency.
/// </summary>
/// <returns>The observed latency.</returns>
/// <remarks>http://redis.io/commands/ping</remarks>
/// <remarks>https://redis.io/commands/ping</remarks>
Task<TimeSpan> PingAsync(CommandFlags flags = CommandFlags.None);
/// <summary>
/// Wait for a given asynchronous operation to complete (or timeout), reporting which
......
......@@ -34,26 +34,26 @@ public interface ISubscriber : IRedis
/// Posts a message to the given channel.
/// </summary>
/// <returns>the number of clients that received the message.</returns>
/// <remarks>http://redis.io/commands/publish</remarks>
/// <remarks>https://redis.io/commands/publish</remarks>
long Publish(RedisChannel channel, RedisValue message, CommandFlags flags = CommandFlags.None);
/// <summary>
/// Posts a message to the given channel.
/// </summary>
/// <returns>the number of clients that received the message.</returns>
/// <remarks>http://redis.io/commands/publish</remarks>
/// <remarks>https://redis.io/commands/publish</remarks>
Task<long> PublishAsync(RedisChannel channel, RedisValue message, CommandFlags flags = CommandFlags.None);
/// <summary>
/// Subscribe to perform some operation when a change to the preferred/active node is broadcast.
/// </summary>
/// <remarks>http://redis.io/commands/subscribe</remarks>
/// <remarks>http://redis.io/commands/psubscribe</remarks>
/// <remarks>https://redis.io/commands/subscribe</remarks>
/// <remarks>https://redis.io/commands/psubscribe</remarks>
void Subscribe(RedisChannel channel, Action<RedisChannel, RedisValue> handler, CommandFlags flags = CommandFlags.None);
/// <summary>
/// Subscribe to perform some operation when a change to the preferred/active node is broadcast.
/// </summary>
/// <remarks>http://redis.io/commands/subscribe</remarks>
/// <remarks>http://redis.io/commands/psubscribe</remarks>
/// <remarks>https://redis.io/commands/subscribe</remarks>
/// <remarks>https://redis.io/commands/psubscribe</remarks>
Task SubscribeAsync(RedisChannel channel, Action<RedisChannel, RedisValue> handler, CommandFlags flags = CommandFlags.None);
/// <summary>
......@@ -68,22 +68,22 @@ public interface ISubscriber : IRedis
/// of the subscribers; if a handler is specified, the subscription is only cancelled if this handler is the
/// last handler remaining against the channel
/// </summary>
/// <remarks>http://redis.io/commands/unsubscribe</remarks>
/// <remarks>http://redis.io/commands/punsubscribe</remarks>
/// <remarks>https://redis.io/commands/unsubscribe</remarks>
/// <remarks>https://redis.io/commands/punsubscribe</remarks>
void Unsubscribe(RedisChannel channel, Action<RedisChannel, RedisValue> handler = null, CommandFlags flags = CommandFlags.None);
/// <summary>
/// Unsubscribe all subscriptions on this instance
/// </summary>
/// <remarks>http://redis.io/commands/unsubscribe</remarks>
/// <remarks>http://redis.io/commands/punsubscribe</remarks>
/// <remarks>https://redis.io/commands/unsubscribe</remarks>
/// <remarks>https://redis.io/commands/punsubscribe</remarks>
void UnsubscribeAll(CommandFlags flags = CommandFlags.None);
/// <summary>
/// Unsubscribe all subscriptions on this instance
/// </summary>
/// <remarks>http://redis.io/commands/unsubscribe</remarks>
/// <remarks>http://redis.io/commands/punsubscribe</remarks>
/// <remarks>https://redis.io/commands/unsubscribe</remarks>
/// <remarks>https://redis.io/commands/punsubscribe</remarks>
Task UnsubscribeAllAsync(CommandFlags flags = CommandFlags.None);
/// <summary>
......@@ -91,8 +91,8 @@ public interface ISubscriber : IRedis
/// of the subscribers; if a handler is specified, the subscription is only cancelled if this handler is the
/// last handler remaining against the channel
/// </summary>
/// <remarks>http://redis.io/commands/unsubscribe</remarks>
/// <remarks>http://redis.io/commands/punsubscribe</remarks>
/// <remarks>https://redis.io/commands/unsubscribe</remarks>
/// <remarks>https://redis.io/commands/punsubscribe</remarks>
Task UnsubscribeAsync(RedisChannel channel, Action<RedisChannel, RedisValue> handler = null, CommandFlags flags = CommandFlags.None);
}
}
\ No newline at end of file
......@@ -10,7 +10,7 @@ namespace StackExchange.Redis
/// aborted (DISCARD) or not applied in the first place (UNWATCH) until the responses from
/// the constraint checks have arrived.
/// </summary>
/// <remarks>http://redis.io/topics/transactions</remarks>
/// <remarks>https://redis.io/topics/transactions</remarks>
/// <remarks>Note that on a cluster, it may be required that all keys involved in the transaction
/// (including constraints) are in the same hash-slot</remarks>
public interface ITransaction : IBatch
......
......@@ -11,7 +11,7 @@ namespace StackExchange.Redis
/// Unlike normal Redis Lua scripts, LuaScript can have named parameters (prefixed by a @).
/// Public fields and properties of the passed in object are treated as parameters.
///
/// Parameters of type RedisKey are sent to Redis as KEY (http://redis.io/commands/eval) in addition to arguments,
/// Parameters of type RedisKey are sent to Redis as KEY (https://redis.io/commands/eval) in addition to arguments,
/// so as to play nicely with Redis Cluster.
///
/// All members of this class are thread safe.
......@@ -218,7 +218,7 @@ public async Task<LoadedLuaScript> LoadAsync(IServer server, CommandFlags flags
/// Unlike normal Redis Lua scripts, LoadedLuaScript can have named parameters (prefixed by a @).
/// Public fields and properties of the passed in object are treated as parameters.
///
/// Parameters of type RedisKey are sent to Redis as KEY (http://redis.io/commands/eval) in addition to arguments,
/// Parameters of type RedisKey are sent to Redis as KEY (https://redis.io/commands/eval) in addition to arguments,
/// so as to play nicely with Redis Cluster.
///
/// All members of this class are thread safe.
......
......@@ -3,7 +3,7 @@
/// <summary>
/// The intrinsinc data-types supported by redis
/// </summary>
/// <remarks>http://redis.io/topics/data-types</remarks>
/// <remarks>https://redis.io/topics/data-types</remarks>
public enum RedisType
{
/// <summary>
......@@ -14,28 +14,28 @@ public enum RedisType
/// Strings are the most basic kind of Redis value. Redis Strings are binary safe, this means that a Redis string can contain any kind of data, for instance a JPEG image or a serialized Ruby object.
/// A String value can be at max 512 Megabytes in length.
/// </summary>
/// <remarks>http://redis.io/commands#string</remarks>
/// <remarks>https://redis.io/commands#string</remarks>
String,
/// <summary>
/// Redis Lists are simply lists of strings, sorted by insertion order. It is possible to add elements to a Redis List pushing new elements on the head (on the left) or on the tail (on the right) of the list.
/// </summary>
/// <remarks>http://redis.io/commands#list</remarks>
/// <remarks>https://redis.io/commands#list</remarks>
List,
/// <summary>
/// Redis Sets are an unordered collection of Strings. It is possible to add, remove, and test for existence of members in O(1) (constant time regardless of the number of elements contained inside the Set).
/// Redis Sets have the desirable property of not allowing repeated members. Adding the same element multiple times will result in a set having a single copy of this element. Practically speaking this means that adding a member does not require a check if exists then add operation.
/// </summary>
/// <remarks>http://redis.io/commands#set</remarks>
/// <remarks>https://redis.io/commands#set</remarks>
Set,
/// <summary>
/// Redis Sorted Sets are, similarly to Redis Sets, non repeating collections of Strings. The difference is that every member of a Sorted Set is associated with score, that is used in order to take the sorted set ordered, from the smallest to the greatest score. While members are unique, scores may be repeated.
/// </summary>
/// <remarks>http://redis.io/commands#sorted_set</remarks>
/// <remarks>https://redis.io/commands#sorted_set</remarks>
SortedSet,
/// <summary>
/// Redis Hashes are maps between string fields and string values, so they are the perfect data type to represent objects (eg: A User with a number of fields like name, surname, age, and so forth)
/// </summary>
/// <remarks>http://redis.io/commands#hash</remarks>
/// <remarks>https://redis.io/commands#hash</remarks>
Hash,
/// <summary>
/// The data-type was not recognised by the client library
......
......@@ -10,17 +10,17 @@ public enum SaveType
/// <summary>
/// Instruct Redis to start an Append Only File rewrite process. The rewrite will create a small optimized version of the current Append Only File.
/// </summary>
/// <remarks>http://redis.io/commands/bgrewriteaof</remarks>
/// <remarks>https://redis.io/commands/bgrewriteaof</remarks>
BackgroundRewriteAppendOnlyFile,
/// <summary>
/// Save the DB in background. The OK code is immediately returned. Redis forks, the parent continues to serve the clients, the child saves the DB on disk then exits. A client my be able to check if the operation succeeded using the LASTSAVE command.
/// </summary>
/// <remarks>http://redis.io/commands/bgsave</remarks>
/// <remarks>https://redis.io/commands/bgsave</remarks>
BackgroundSave,
/// <summary>
/// Save the DB in foreground. This is almost never a good thing to do, and could cause significant blocking. Only do this if you know you need to save
/// </summary>
/// <remarks>http://redis.io/commands/save</remarks>
/// <remarks>https://redis.io/commands/save</remarks>
[Obsolete("Saving on the foreground can cause significant blocking; use with extreme caution")]
ForegroundSave
}
......
......@@ -249,7 +249,7 @@ internal SocketToken BeginConnect(EndPoint endpoint, ISocketCallback callback, C
}
internal void SetFastLoopbackOption(Socket socket)
{
// SIO_LOOPBACK_FAST_PATH (http://msdn.microsoft.com/en-us/library/windows/desktop/jj841212%28v=vs.85%29.aspx)
// SIO_LOOPBACK_FAST_PATH (https://msdn.microsoft.com/en-us/library/windows/desktop/jj841212%28v=vs.85%29.aspx)
// Speeds up localhost operations significantly. OK to apply to a socket that will not be hooked up to localhost,
// or will be subject to WFP filtering.
const int SIO_LOOPBACK_FAST_PATH = -1744830448;
......
......@@ -10,7 +10,7 @@ namespace StackExchange.Redis
{
/// <summary>
/// We want to prevent callers hijacking the reader thread; this is a bit nasty, but works;
/// see http://stackoverflow.com/a/22588431/23354 for more information; a huge
/// see https://stackoverflow.com/a/22588431/23354 for more information; a huge
/// thanks to Eli Arbel for spotting this (even though it is pure evil; it is *my kind of evil*)
/// </summary>
#if DEBUG
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment