These are chat archives for Ruhrpottpatriot/GW2.NET
HttpContent, when you are going to need it later...
HttpContentwas disposed, even though it wasn't in a using statement and I was not calling
Dispose(). Turns out the cause of this was my serialisation of the Headers, which used the
HttpContentin a using statement and I overlooked that method...
ISerializer<T>interface, the method
Serialize(T value, Stream stream);returns void. It seems you did it that way, because JSON.Net does it that way. But depending on the stream we could have side effects here. Wouldn't it be better to return a completely new stream from the method instead of writing into the passed stream?