Пример #1
0
 private static Task <Message> ReadMessageAsync(HttpContext httpContext, SoapMessageEncoder messageEncoder)
 {
     return(messageEncoder.ReadMessageAsync(httpContext.Request.BodyReader, 0x10000, httpContext.Request.ContentType));
 }
Пример #2
0
 private static Task <Message> ReadMessageAsync(MemoryStream stream, SoapMessageEncoder messageEncoder)
 {
     return(messageEncoder.ReadMessageAsync(stream, 0x10000));
 }