1234567891011121314151617181920212223242526272829303132 |
- using Microsoft.AspNetCore.Mvc;
- using Edge.Core.Parser.HttpMessageParser;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Net.Http;
- using System.Text;
- using System.Threading.Tasks;
- namespace Edge.Core.Parser.HttpMessageParser
- {
- public class SimpleHttpOutgoingMessage : BaseHttpMessage<string>
- {
- private SimpleHttpOutgoingMessage(Guid id) : base(id) { }
- public IActionResult ResponseResult { get; set; }
- public static SimpleHttpOutgoingMessage CreatedFrom(BaseHttpMessage<string> incomingMessage, IActionResult responseResult)
- {
- var msg = new SimpleHttpOutgoingMessage(incomingMessage.Id)
- {
- ApiController = incomingMessage.ApiController,
- ResponseResult = responseResult
- };
- return msg;
- }
-
-
-
-
- }
- }
|