Exemplo n.º 1
0
        public override async Task CreatePortMap(Mapping mapping)
        {
            CreatePortMappingMessage message = new CreatePortMappingMessage(mapping, localAddress, this);

            using (await _httpClient.SendAsync(message.Encode(), message.Method).ConfigureAwait(false))
            {
            }
        }
Exemplo n.º 2
0
        public override Task CreatePortMap(Mapping mapping)
        {
            CreatePortMappingMessage message = new CreatePortMappingMessage(mapping, localAddress, this);

            return(_httpClient.SendAsync(message.Encode(), message.Method));
        }