Skip to content

Commit

Permalink
Grpc: gRPC-web-text constant added in NameValuePair (#8493)
Browse files Browse the repository at this point in the history
Add a constant for the new type.

Signed-off-by: amitpanwar789 <[email protected]>
  • Loading branch information
amitpanwar789 committed May 17, 2024
1 parent e1dae32 commit 22dc769
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,13 @@ public class NameValuePair implements Comparable<NameValuePair> {
*/
public static final int TYPE_GRAPHQL_INLINE = 38;

/**
* The application/grpc-web-text content-type of a web application
*
* @since 2.16.0
*/
public static final int TYPE_GRPC_WEB_TEXT = 39;

public static final int TYPE_UNDEFINED = -1;

private final int targetType;
Expand Down

0 comments on commit 22dc769

Please sign in to comment.