Exemplo n.º 1
0
        private HttpRequestMessage ComposeMessage(Stream stream)
        {
            var message = new HttpRequestMessage(HttpMethod.Post,
                                                 Dsn.GetCaptureUrl());

            AddSentryAuthHeader(message);

            message.Content = GetContent(stream);

            return(message);
        }
Exemplo n.º 2
0
 public void GetCaptureUrl()
 => Assert.Equal(
     expected: $"https://{Host}/api/{ProjectId}/store/",
     actual: SentryDsn.GetCaptureUrl());