Go 1.11 has reached end of support
and will bedeprecatedon January 31, 2026. After deprecation, you won't be able to deploy Go 1.11
applications, even if your organization previously used an organization policy to
re-enable deployments of legacy runtimes. Your existing Go
1.11 applications will continue to run and receive traffic after theirdeprecation date. We
recommend that youmigrate to the latest supported version of Go.
NewRemoteContext returns a context that gives access to the production
APIs for the application at the given host. All communication will be
performed over SSL unless the host is localhost.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eremote_api\u003c/code\u003e package implements the \u003ccode\u003e/_ah/remote_api\u003c/code\u003e endpoint, which is used by offline tools like the bulk loader.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNewRemoteContext\u003c/code\u003e function provides a context for accessing production APIs of an application at a specified host, using SSL for communication unless it's localhost.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eClient\u003c/code\u003e type represents a connection to the production APIs for an application.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNewClient\u003c/code\u003e function establishes a client connection to a specified host, and like \u003ccode\u003eNewRemoteContext\u003c/code\u003e, uses SSL unless it's localhost.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNewContext\u003c/code\u003e method, when called on a \u003ccode\u003eClient\u003c/code\u003e instance, creates a new context that directs App Engine API calls to the client's remote host.\u003c/p\u003e\n"]]],[],null,["# Package google.golang.org/appengine/remote_api (v1.6.7)\n\nVersion 1.6.7keyboard_arrow_down\n\n- [1.6.8 (latest)](/appengine/docs/legacy/standard/go111/reference/latest/remote_api)\n- [1.6.7](/appengine/docs/legacy/standard/go111/reference/1.6.7/remote_api) \n**Note:** To get more information about this package, such as access to older versions, view [this package on pkg.go.dev](https://pkg.go.dev/google.golang.org/appengine/remote_api). \n\u003cbr /\u003e\n\nPackage remote_api implements the /_ah/remote_api endpoint.\nThis endpoint is used by offline tools such as the bulk loader. \n\nFunctions\n---------\n\n### func NewRemoteContext\n\n func NewRemoteContext(host https://pkg.go.dev/builtin#string, client *https://pkg.go.dev/net/http.https://pkg.go.dev/net/http#Client) (https://pkg.go.dev/golang.org/x/net/context.https://pkg.go.dev/golang.org/x/net/context#Context, https://pkg.go.dev/builtin#error)\n\nNewRemoteContext returns a context that gives access to the production\nAPIs for the application at the given host. All communication will be\nperformed over SSL unless the host is localhost. \n\nClient\n------\n\n type Client struct {\n \t// contains filtered or unexported fields\n }\n\nClient is a connection to the production APIs for an application. \n\n### func NewClient\n\n func NewClient(host https://pkg.go.dev/builtin#string, client *https://pkg.go.dev/net/http.https://pkg.go.dev/net/http#Client) (*#google_golang_org_appengine_remote_api_Client, https://pkg.go.dev/builtin#error)\n\nNewClient returns a client for the given host. All communication will\nbe performed over SSL unless the host is localhost. \n\n### func (\\*Client) NewContext\n\n func (c *#google_golang_org_appengine_remote_api_Client) NewContext(parent https://pkg.go.dev/golang.org/x/net/context.https://pkg.go.dev/golang.org/x/net/context#Context) https://pkg.go.dev/golang.org/x/net/context.https://pkg.go.dev/golang.org/x/net/context#Context\n\nNewContext returns a copy of parent that will cause App Engine API\ncalls to be sent to the client's remote host."]]