Skip to content

[System.Net.Http.Json] Undocumented 7.0 APIs in System.Net.Http.Json #72403

Closed

Description

@carlossanlop

@dotnet/ncl

Below is the list of APIs that were introduced in 7.0 and have not yet been fully documented.

Relevant dates:

  • The last day to merge API documentation directly into triple slash comments in dotnet/runtime is before the RC1 snap on August 15th.
  • After the RC1 snap, all pending documentation changes need to be merged directly into dotnet-api-docs, and the last day to do so is before the RC2 snap on September 13th.

The latest table of undoc APIs, as of Preview6, can be found in this comment.

Old table (as of Preview5, all documented now)
Summary Params TypeParams Returns Undocumented API Docs URL
Missing Missing NA NA M:System.Net.Http.StringContent.#ctor(System.String,System.Net.Http.Headers.MediaTypeHeaderValue) https://review.docs.microsoft.com/en-us/dotnet/api/System.Net.Http.StringContent.-ctor?branch=main
Missing Missing NA NA M:System.Net.Http.StringContent.#ctor(System.String,System.Text.Encoding,System.Net.Http.Headers.MediaTypeHeaderValue) https://review.docs.microsoft.com/en-us/dotnet/api/System.Net.Http.StringContent.-ctor?branch=main
Missing Missing NA NA M:System.Net.Http.Headers.MediaTypeHeaderValue.#ctor(System.String,System.String) https://review.docs.microsoft.com/en-us/dotnet/api/System.Net.Http.Headers.MediaTypeHeaderValue.-ctor?branch=main
Missing Missing NA Missing M:System.Net.NetworkInformation.Ping.Send(System.String,System.TimeSpan,System.Byte[],System.Net.NetworkInformation.PingOptions) https://review.docs.microsoft.com/en-us/dotnet/api/System.Net.NetworkInformation.Ping.Send?branch=main
Missing Missing NA Missing M:System.Net.NetworkInformation.Ping.Send(System.Net.IPAddress,System.TimeSpan,System.Byte[],System.Net.NetworkInformation.PingOptions) https://review.docs.microsoft.com/en-us/dotnet/api/System.Net.NetworkInformation.Ping.Send?branch=main
Missing Missing NA NA M:System.Net.Sockets.NetworkStream.Close(System.TimeSpan) https://review.docs.microsoft.com/en-us/dotnet/api/System.Net.Sockets.NetworkStream.Close?branch=main
Missing NA NA NA P:System.Net.Sockets.SafeSocketHandle.IsInvalid https://review.docs.microsoft.com/en-us/dotnet/api/System.Net.Sockets.SafeSocketHandle.IsInvalid?branch=main
Missing Missing NA Missing M:System.Net.Sockets.Socket.Poll(System.TimeSpan,System.Net.Sockets.SelectMode) https://review.docs.microsoft.com/en-us/dotnet/api/System.Net.Sockets.Socket.Poll?branch=main
Missing Missing NA NA M:System.Net.Sockets.Socket.Select(System.Collections.IList,System.Collections.IList,System.Collections.IList,System.TimeSpan) https://review.docs.microsoft.com/en-us/dotnet/api/System.Net.Sockets.Socket.Select?branch=main
Missing NA NA NA P:System.Net.Sockets.UnixDomainSocketEndPoint.AddressFamily https://review.docs.microsoft.com/en-us/dotnet/api/System.Net.Sockets.UnixDomainSocketEndPoint.AddressFamily?branch=main
Missing Missing NA Missing M:System.Net.Sockets.UnixDomainSocketEndPoint.Create(System.Net.SocketAddress) https://review.docs.microsoft.com/en-us/dotnet/api/System.Net.Sockets.UnixDomainSocketEndPoint.Create?branch=main
Missing NA NA Missing M:System.Net.Sockets.UnixDomainSocketEndPoint.Serialize https://review.docs.microsoft.com/en-us/dotnet/api/System.Net.Sockets.UnixDomainSocketEndPoint.Serialize?branch=main
Missing NA NA Missing M:System.Net.Sockets.UnixDomainSocketEndPoint.ToString https://review.docs.microsoft.com/en-us/dotnet/api/System.Net.Sockets.UnixDomainSocketEndPoint.ToString?branch=main

Activity

  1. added
    documentation
    on Jul 18, 2022
  2. added this to the 7.0.0 milestone on Jul 18, 2022
  3. self-assigned this
    on Jul 19, 2022
  4. ghost added
    in-pr
    on Jul 19, 2022
  5. ghost removed
    in-pr
    on Jul 27, 2022
  6. carlossanlop commented on Aug 10, 2022

    @carlossanlop
    ContributorAuthor

    Rather than creating a new issue, I am reopening this one.

    Here are the latest undocumented APIs as of Preview6:

    Summary Parameters TypeParameters ReturnValue API
    Missing Missing NA Missing M:System.Net.Http.Json.HttpClientJsonExtensions.DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)
    Missing Missing NA Missing M:System.Net.Http.Json.HttpClientJsonExtensions.DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Text.Json.Serialization.JsonSerializerContext,System.Threading.CancellationToken)
    Missing Missing NA Missing M:System.Net.Http.Json.HttpClientJsonExtensions.DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)
    Missing Missing NA Missing M:System.Net.Http.Json.HttpClientJsonExtensions.DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Threading.CancellationToken)
    Missing Missing NA Missing M:System.Net.Http.Json.HttpClientJsonExtensions.DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Text.Json.Serialization.JsonSerializerContext,System.Threading.CancellationToken)
    Missing Missing NA Missing M:System.Net.Http.Json.HttpClientJsonExtensions.DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Threading.CancellationToken)
    Missing Missing Missing Missing M:System.Net.Http.Json.HttpClientJsonExtensions.DeleteFromJsonAsync1(System.Net.Http.HttpClient,System.String,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)
    Missing Missing Missing Missing M:System.Net.Http.Json.HttpClientJsonExtensions.DeleteFromJsonAsync1(System.Net.Http.HttpClient,System.Uri,System.Text.Json.Serialization.Metadata.JsonTypeInfo{0},System.Threading.CancellationToken)
    Missing Missing Missing Missing M:System.Net.Http.Json.HttpClientJsonExtensions.DeleteFromJsonAsync1(System.Net.Http.HttpClient,System.Uri,System.Threading.CancellationToken)
    Missing Missing Missing Missing M:System.Net.Http.Json.HttpClientJsonExtensions.DeleteFromJsonAsync1(System.Net.Http.HttpClient,System.String,System.Threading.CancellationToken)
    Missing Missing Missing Missing M:System.Net.Http.Json.HttpClientJsonExtensions.DeleteFromJsonAsync1(System.Net.Http.HttpClient,System.String,System.Text.Json.Serialization.Metadata.JsonTypeInfo{0},System.Threading.CancellationToken)
    Missing Missing Missing Missing M:System.Net.Http.Json.HttpClientJsonExtensions.DeleteFromJsonAsync1(System.Net.Http.HttpClient,System.Uri,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)
    Missing NA NA NA M:System.Net.Security.NegotiateAuthenticationClientOptions.#ctor
    Missing NA NA NA M:System.Net.Security.NegotiateAuthenticationServerOptions.#ctor
    Missing Missing NA Missing M:System.Net.Sockets.Socket.Poll(System.TimeSpan,System.Net.Sockets.SelectMode)
    Missing Missing NA NA M:System.Net.Sockets.Socket.Select(System.Collections.IList,System.Collections.IList,System.Collections.IList,System.TimeSpan)
  7. added
    untriaged
    on Aug 10, 2022
  8. carlossanlop commented on Aug 10, 2022

    @carlossanlop
    ContributorAuthor

    The System.Net.Socket APIs are already documented in triple slash, but I haven't ported them yet because the docs contain references to APIs that don't yet exist in Preview6 (that's the latest version we show in MS Docs). I will port them after we update MS Docs to Preview7.

  9. karelz commented on Aug 11, 2022

    @karelz
    Member

    @carlossanlop which APIs are now remaining to be tracked by this issue? System.Net.Http.Json.HttpClientJsonExtensions?
    Oh, it is also tracking the System.Net.Security remaining APIs ... got it -- I will split the issue as it is set of different people working on that

  10. self-assigned this
    on Aug 11, 2022
  11. removed
    untriaged
    on Aug 11, 2022
  12. karelz commented on Aug 12, 2022

    @karelz
    Member

    I separated System.Net.Security APIs into #73851. That leaves this issue tracking only System.Net.Http.Json.HttpClientJsonExtensions methods.

    @eiriktsarpalis @krwq @layomia can you please take a look -- up to you, if you want to finish it prior branching or later. Thanks!

  13. removed their assignment
    on Aug 12, 2022
  14. changed the title [-]Undocumented 7.0 APIs in System.Net[/-] [+][System.Net.Http.Json] Undocumented 7.0 APIs in System.Net[/+] on Aug 12, 2022
  15. changed the title [-][System.Net.Http.Json] Undocumented 7.0 APIs in System.Net[/-] [+][System.Net.Http.Json] Undocumented 7.0 APIs in System.Net.Http.Json[/+] on Aug 12, 2022
  16. carlossanlop commented on Aug 29, 2022

    @carlossanlop
    ContributorAuthor
    Latest list for System.Net.Http.Json, as of Preview 7
    API Summary Parameters TypeParameters ReturnValue
    M:System.Net.Http.Json.HttpClientJsonExtensions.DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Text.Json.Serialization.JsonSerializerContext,System.Threading.CancellationToken) Missing Missing NA Missing
    M:System.Net.Http.Json.HttpClientJsonExtensions.DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Text.Json.Serialization.JsonSerializerContext,System.Threading.CancellationToken) Missing Missing NA Missing
    M:System.Net.Http.Json.HttpClientJsonExtensions.DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken) Missing Missing NA Missing
    M:System.Net.Http.Json.HttpClientJsonExtensions.DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Threading.CancellationToken) Missing Missing NA Missing
    M:System.Net.Http.Json.HttpClientJsonExtensions.DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Threading.CancellationToken) Missing Missing NA Missing
    M:System.Net.Http.Json.HttpClientJsonExtensions.DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken) Missing Missing NA Missing
    M:System.Net.Http.Json.HttpClientJsonExtensions.DeleteFromJsonAsync1(System.Net.Http.HttpClient,System.String,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken) Missing Missing Missing Missing
    M:System.Net.Http.Json.HttpClientJsonExtensions.DeleteFromJsonAsync1(System.Net.Http.HttpClient,System.Uri,System.Text.Json.Serialization.Metadata.JsonTypeInfo{0},System.Threading.CancellationToken) Missing Missing Missing Missing
    M:System.Net.Http.Json.HttpClientJsonExtensions.DeleteFromJsonAsync1(System.Net.Http.HttpClient,System.String,System.Text.Json.Serialization.Metadata.JsonTypeInfo{0},System.Threading.CancellationToken) Missing Missing Missing Missing
    M:System.Net.Http.Json.HttpClientJsonExtensions.DeleteFromJsonAsync1(System.Net.Http.HttpClient,System.Uri,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken) Missing Missing Missing Missing
    M:System.Net.Http.Json.HttpClientJsonExtensions.DeleteFromJsonAsync1(System.Net.Http.HttpClient,System.String,System.Threading.CancellationToken) Missing Missing Missing Missing
    M:System.Net.Http.Json.HttpClientJsonExtensions.DeleteFromJsonAsync1(System.Net.Http.HttpClient,System.Uri,System.Threading.CancellationToken) Missing Missing Missing Missing
  17. ghost added
    in-pr
    on Aug 29, 2022
  18. ghost removed
    in-pr
    on Aug 29, 2022
  19. ghost locked as resolved and limited conversation to collaborators on Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area-System.Netdocumentation

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions